Maintenance in progress: we are indexing a large batch of new skills. Some pages may load slowly or briefly show no results. Nothing is lost, and everything is back to normal within the hour.

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.

majiayu000 ad667cd 2 files · 1.7 KB Updated 567 repo stars

File contents

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

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

Or more directly, dump the fully rendered DOM:

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.

majiayu000/claude-skill-registry-data/tree/main/testing/playwright-codelytv-agentic-programming commit ad667cd97e

Frequently asked questions

npx skillmds add majiayu000/playwright-13