Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Automates browser interactions with playwright-cli, testing web pages and working with Playwright tests.
41% 100%+59 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 9 of 22 without it.
3 of 3 safety checks passed
Not used yet
The workspace pins @playwright/cli. In the examples below,
playwright-cli means pnpm --dir apps exec playwright-cli from the repository
root. This keeps the examples short while using the lockfile version rather
than an unrelated global installation.
# open new browser
playwright-cli open
# navigate to a page
playwright-cli goto https://playwright.dev
# interact with the page using refs from the snapshot
playwright-cli click e15
playwright-cli type "page.click"
playwright-cli press Enter
# take a screenshot (rarely used, as snapshot is more common)
playwright-cli screenshot
# close the browser
playwright-cli close
playwright-cli open
# open and navigate right away
playwright-cli open https://example.com/
playwright-cli goto https://playwright.dev
playwright-cli type "search query"
playwright-cli click e3
playwright-cli dblclick e7
# --submit presses Enter after filling the element
playwright-cli fill e5 "[email protected]" --submit
playwright-cli drag e2 e8
playwright-cli hover e4
Published skills whose descriptions closely match this one, with their benchmark result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.