Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add: list installed browsers #1

Closed
wants to merge 1 commit into from
Closed

add: list installed browsers #1

wants to merge 1 commit into from

Conversation

resslr
Copy link
Owner

@resslr resslr commented Jan 8, 2025

Add new commands to list installed browsers.

Solves microsoft#34183

  • Add playwright ls command to list installed browsers in packages/playwright-core/src/cli/commands/ls.ts.
  • Add --list option to npx playwright install command in packages/playwright-core/src/cli/commands/install.ts.
  • Register the new ls command in the CLI program in packages/playwright-core/src/cli/program.ts.
  • Write tests for the playwright ls command in packages/playwright-core/src/cli/commands/ls.test.ts.
  • Add documentation for the new playwright ls command and --list option in docs/src/cli.md.
  • Update .github/actions/run-test/action.yml to use npx playwright install --with-deps --list to list installed browsers.

Add new commands to list installed browsers.

Solves microsoft#34183

* Add `playwright ls` command to list installed browsers in `packages/playwright-core/src/cli/commands/ls.ts`.
* Add `--list` option to `npx playwright install` command in `packages/playwright-core/src/cli/commands/install.ts`.
* Register the new `ls` command in the CLI program in `packages/playwright-core/src/cli/program.ts`.
* Write tests for the `playwright ls` command in `packages/playwright-core/src/cli/commands/ls.test.ts`.
* Add documentation for the new `playwright ls` command and `--list` option in `docs/src/cli.md`.
* Update `.github/actions/run-test/action.yml` to use `npx playwright install --with-deps --list` to list installed browsers.
@resslr resslr closed this Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant