Playwright

From kandada/fastclaw · View interactive version

Playwright is an AI agent skill from the GitHub repository kandada/fastclaw. Browser automation using Playwright. Navigate pages, extract content, take screenshots, fill forms, and more.

How to use this skill

Skill file

Description

Browser automation using Playwright. Navigate pages, extract content, take screenshots, fill forms, and more.

Parameters

Examples

Navigate and extract content

run_skills("playwright", {"url": "https://example.com"})

Take a screenshot

run_skills("playwright", {"url": "https://example.com", "action": "screenshot"})

Custom steps (click, input, extract, etc.)

run_skills("playwright", {"func": "run", "url": "https://example.com/login", "script": [

{"type": "input", "selector": "#user", "value": "admin"},

{"type": "input", "selector": "#pass", "value": "123"},

{"type": "click", "selector": "button[type=submit]"},

{"type": "extract", "what": "all"}

]})

Session: multiple calls, same browser

run_skills("playwright", {"func": "run", "url": "https://baidu.com", "script": [{"type": "extract", "what": "links"}], "session_id": "s1"})

run_skills("playwright", {"func": "run", "script": [{"type": "click", "selector": "a:nth-child(3)"}, {"type": "wait_for_load"}, {"type": "extract", "what": "all"}], "session_id": "s1"})

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.