All apps/Playwright

Playwright

playwright

Command-line tool for running Playwright Test end-to-end tests and installing the browsers they use.

Runs as playwright|macOS, Linux, Windows|playwright.dev

Command form

ai-draft · 2 tasks · 5 fields

Run Playwright tests or install browsers. Reporters, projects, workers and other test options are not in the completion data and are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui playwright

playwright test

Run tests

Run Playwright Test files, optionally filtered by title.

Run testsExample values, fixed in this page — nothing here reaches a terminal
Basic
Test files
any
Title filter
string
Headed browsers
--headed
TasksEach one presets the form for one job
Run tests
testsgrepheaded
ParametersOnly these flags are editable in the form
Test files
path · positional 0 · repeatable
Title filter
Run only tests with this title.
string
-g
Headed browsers
boolean
--headed

playwright install

Install browsers

Install the default browsers, or the ones you name.

Install browsersExample values, fixed in this page — nothing here reaches a terminal
Basic
Browsers
string
Install system dependencies
--with-deps
TasksEach one presets the form for one job
Install browsers
browserswith_deps
ParametersOnly these flags are editable in the form
Browsers
Leave empty to install the default browsers.
string · positional 0 · repeatable
chromiumfirefoxwebkitchromemsedge
Install system dependencies
boolean
--with-deps
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed playwright against its version. A form that does not match your version is not offered.