Agent skill

playwright

Navigate websites and query page content using Playwright CLI. Use this skill when the user asks to open a URL, extract data from a page, or check UI state.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/playwright-codelytv-agentic-programming-

SKILL.md

Download the rendered HTML instead of PDF or screenshots. Use the Playwright CLI:

bash
npx playwright open --save-har=/tmp/page.har --save-har-glob="**" <url> --headless

Or more directly, dump the fully rendered DOM:

bash
node -e "const{chromium}=require('playwright');(async()=>{const b=await chromium.launch();const p=await b.newPage();await p.goto(process.argv[1],{waitUntil:'networkidle'});console.log(await p.content());await b.close()})();" <url> > /tmp/page.html

Then read /tmp/page.html to analyze the page content.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results