Skip to content
Skill

playwright-cli

by nokonoko1203

AI Summary

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "playwright-cli" skill in my project.

Please run this command in my terminal:
# Install skill into your project
mkdir -p .claude/skills/playwright-cli && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/playwright-cli/SKILL.md "https://raw.githubusercontent.com/nokonoko1203/claude-code-settings/main/skills/playwright-cli/SKILL.md"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

DevTools

`bash playwright-cli console playwright-cli console warning playwright-cli network playwright-cli run-code "async page => await page.context().grantPermissions(['geolocation'])" playwright-cli tracing-start playwright-cli tracing-stop playwright-cli video-start playwright-cli video-stop video.webm `

Example: Debugging with DevTools

`bash playwright-cli open https://example.com playwright-cli click e4 playwright-cli fill e7 "test" playwright-cli console playwright-cli network playwright-cli close ` `bash playwright-cli open https://example.com playwright-cli tracing-start playwright-cli click e4 playwright-cli fill e7 "test" playwright-cli tracing-stop playwright-cli close `

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

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 2mo ago
Active
AdoptionUnder 100 stars
92 ★ · Niche
DocsREADME + description
Well-documented

GitHub Signals

Stars92
Forks13
Issues0
Updated2mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code