From ai-coding-config
Automates browsers with Playwright for testing pages, taking screenshots, checking UI, verifying login flows, and testing responsive behavior.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ai-coding-config:playwright-browserThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
<objective>
node $SKILL_DIR/run.js /tmp/playwright-task.js
For inline code (variables are auto-injected, see below):
node $SKILL_DIR/run.js "const b = await chromium.launch(); const p = await b.newPage(); await p.goto('http://localhost:3000'); console.log(await p.title()); await b.close();"
$SKILL_DIR is where you loaded this file from.
Default: headless (invisible, less intrusive).Use { headless: false } when user wants to see the browser. You know when that is.
BASE_URL - from PLAYWRIGHT_BASE_URL env varCI_ARGS - browser args for CI (['--no-sandbox', '--disable-setuid-sandbox'])EXTRA_HEADERS - from PW_HEADER_NAME/VALUE or PW_EXTRA_HEADERSchromium, firefox, webkit, devices - from playwrightExample:
node $SKILL_DIR/run.js "
const browser = await chromium.launch({ args: CI_ARGS });
const page = await browser.newPage();
await page.goto(BASE_URL || 'http://localhost:3000');
console.log(await page.title());
await browser.close();
"
run.js auto-installs Playwright on first use. No manual setup needed.
For network mocking, auth persistence, multi-tab, downloads, video, traces:
[API_REFERENCE.md](API_REFERENCE.md)
npx claudepluginhub technickai/ai-coding-config --plugin ai-coding-config3plugins reuse this skill
First indexed Jan 6, 2026
Browser automation and E2E testing with Playwright. Auto-detects dev servers, writes test scripts for cross-browser testing, visual regression, form filling, and login flows.
Automates browser tasks with Playwright: test pages, fill forms, take screenshots, check responsive design, validate UX, and test login flows. Auto-detects dev servers.
Cross-browser automation framework for testing, scraping, and web automation. Supports Chromium, Firefox, and WebKit with a single API.