Loading...
Loading...
Control the user Chrome browser via Playwriter extension with Playwright code snippets in a stateful local js sandbox. Automate web interactions, take screenshots, inspect accessibility trees, and debug web applications.
npx skill4agent add samhvw8/dotfiles playwriter# Get a session ID first
playwriter session new
# => 1
# Execute code with your session
playwriter -s 1 -e "await page.goto('https://example.com')"
playwriter -s 1 -e "console.log(await accessibilitySnapshot({ page }))"
playwriter -s 1 -e "await page.screenshot({ path: 'shot.png', scale: 'css' })"playwriternpx playwriter@latestbunx playwriter@latestplaywriter skillstatepagecontextgetCleanHTMLgetCDPSessioncreateDebuggerplaywriter skill