Skip to content

[Feature] playwright init should support a non-interactive mode with arguments specified on the command line. #11843

@EvanCarroll

Description

@EvanCarroll
  • npm init playwright runs an interactive program that initializes a playwright project.
  • CI doesn't work well with interactive prompts
  • There is no supported method to run npm init without interactivity.

It would be nice if

  • users could run npx create-playwright --lang TypeScript --dir tests --github --install-deps to specify or override all the default options explicitly in the command line.
  • users could run npx create-playwright -y or --yes (which is the convention for npm init) to disable interactive prompting and accept all the defaults

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions