| name | playwright |
| description | Browser automation via Playwright MCP. Use for web scraping, taking screenshots, interacting with web pages, testing web UIs, and automating browser tasks. Headless browser support. |
| compatibility | Requires npx and @anthropic-ai/mcp-server-playwright package. |
Playwright Browser Automation
Control browsers via Playwright MCP server.
When to Use
- Web scraping and data extraction
- Taking screenshots of web pages
- Interacting with web UIs (clicking, typing, navigating)
- Testing web applications
- Automating browser-based workflows
- Filling forms and submitting data
Setup
MCP server configured in ~/.mcp.json:
{
"playwright": {
"command": "npx",
"args": ["-y", "@anthropic-ai/mcp-server-playwright"]
}
}
Common Tools
Navigation
navigate_page- Go to a URLnew_page- Open new browser tablist_pages- Show open pages
Interaction
click- Click elementsfill- Type into input fieldsselect- Choose from dropdownspress- Press keyboard keys
Capture
take_screenshot- Screenshot current pageget_page_content- Get page HTMLget_text- Extract visible text
Evaluation
evaluate- Run JavaScript in page context
Example Workflows
Screenshot a Page
navigate_page(url="https://example.com")take_screenshot()
Fill a Form
navigate_page(url="https://example.com/form")fill(selector="#email", value="user@example.com")fill(selector="#password", value="secret")click(selector="button[type=submit]")
Extract Data
navigate_page(url="https://example.com/data")get_text(selector=".results")
Tips
- Use CSS selectors or XPath for element targeting
- Wait for page loads before interacting
- Browser runs headless by default
- Screenshots are useful for debugging
Scientific Skill Interleaving
This skill connects to the K-Dense-AI/claude-scientific-skills ecosystem:
Graph Theory
- networkx [○] via bicomodule
- Universal graph hub
Bibliography References
general: 734 citations in bib.duckdb
Cat# Integration
This skill maps to Cat# = Comod(P) as a bicomodule in the equipment structure:
Trit: 0 (ERGODIC)
Home: Prof
Poly Op: ⊗
Kan Role: Ran_K
Color: #26D826
GF(3) Naturality
The skill participates in triads satisfying:
(-1) + (0) + (+1) ≡ 0 (mod 3)
This ensures compositional coherence in the Cat# equipment structure.