🚀 Feature Request
Allow for specifying installPlaywrightBrowsers non-interactively with create-playwright, eg:
$ pnpm create playwright --browsers
# This will install Playwright browsers and skip the following question:
# ? Install Playwright browsers (can be done manually via `pnpm exec playwright install`)? ›
Example
See above
Motivation
Currently it's not possible to pass a true value for installPlaywrightBrowsers alone, without specifying other options
The closest thing is the --quiet option (see below, from the options list):
Usage: npx create-playwright@latest [options] [rootDir]
Available options are:
...
--quiet: do not ask for interactive input prompts
However, this also sets other options at the same time, and disables any interactive prompts, both of which may be undesirable side effects.
Implementation
A prerequisite to enable the behavior of skipping prompts when options are passed in:
Related
🚀 Feature Request
Allow for specifying
installPlaywrightBrowsersnon-interactively withcreate-playwright, eg:Example
See above
Motivation
Currently it's not possible to pass a
truevalue forinstallPlaywrightBrowsersalone, without specifying other optionsThe closest thing is the
--quietoption (see below, from the options list):However, this also sets other options at the same time, and disables any interactive prompts, both of which may be undesirable side effects.
Implementation
A prerequisite to enable the behavior of skipping prompts when options are passed in:
Related