Forrest logo
back to context overview

playwright

List of commands for playwright:

  • playwright:file:run Run a single Playwright test file
    $ npx playwright test ${pathToFile}
    try on your machine
  • playwright:project:run Run a single Playwright project
    $ npx playwright test --project=${projectName}
    try on your machine
  • playwright:report:show Show report on Playwright tests
    $ npx playwright show-report
    try on your machine
  • playwright:run-all Run all Playwright tests
    $ npx playwright test
    try on your machine
  • playwright:test:run Run Playwright test with the title
    $ npx playwright test --g "${testTitle}"
    try on your machine
  • playwright:test:run:debug-mode Run Playwright tests in debug mode
    $ npx playwright test --debug
    try on your machine
  • playwright:test:run:headed-mode Run Playwright tests in headed mode
    $ npx playwright test --headed
    try on your machine
  • playwright:warp:43f95 Run Playwright test in a specific browser
    $ npx playwright test --browser=${browser}
    try on your machine
    explain this command
  • playwright:warp:9f294 Auto-generate Playwright tests with Codegen
    $ npx playwright codegen ${url}
    try on your machine
    explain this command
back to context overview