browser-automation
Skill4 starsChanged 9 months agoMITView on GitHub
Browser automation with Playwright — navigate, click, fill forms, scrape
- Installs packages
We split this skill into the rules it gives an agent
4 rules. 0 are common, 0 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 34 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 167
Use headless: false to see browser during development
- Very specific: line 168
Use codegen to record actions and generate code
- Very specific: line 169
Use waitForLoadState('networkidle') for dynamic content
- Very specific: line 170
Use page.pause() for debugging
“Common” is measured: kept by at least 6 in 10 of the 34 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Browser Automation
Automate web browsers using Playwright for testing, scraping, and automation.
Setup
Node.js (required):
- macOS:
brew install node - Ubuntu:
sudo apt install nodejs npm
Playwright (browsers):
npm install -g playwright # or: npm install playwright (project dependency)
npx playwright install # downloads Chromium, Firefox, WebKitQuick Scripts
# Take screenshot
npx playwright screenshot https://example.com screenshot.png
# Generate PDF
npx playwright pdf https://example.com page.pdfNavigate & Screenshot
// script.js
const { chromium } = require('playwright');
(async () => {
const browser = await chromium.launch();
const page = await browser.newPage();
await page.goto('https://example.com');
await page.screenshot({ path: 'screenshot.png', fullPage: true });
await browser.close();
})();node script.jsClick & Fill Forms
const { chromium } = require('playwright');
(async () => {
const browser = await chromium.launch({ headless: false });
const page = await browser.newPage();
await page.goto('https://example.com/login');
// Fill form
await page.fill('#email', 'user@example.com');
await page.fill('#password', 'secretpassword');
// Click button
await page.click('button[type="submit"]');
// Wait for navigation
await page.waitForURL('**/dashboard');
await browser.close();
})();Extract Data
const { chromium } = require('playwright');
(async () => {
const browser = await chromium.launch();
const page = await browser.newPage();
await page.goto('https://example.com/products');
// Extract text
const title = await page.textContent('h1');
// Extract multiple elements
const products = await page.$$eval('.product', items =>
items.map(item => ({
name: item.querySelector('.name')?.textContent,
price: item.querySelector('.price')?.textContent
}))
);
console.log(JSON.stringify(products, null, 2));
await browser.close();
})();Handle Dialogs & Alerts
page.on('dialog', async dialog => {
console.log(dialog.message());
await dialog.accept();
});Wait Strategies
// Wait for element
await page.waitForSelector('.loaded');
// Wait for specific text
await page.waitForSelector('text=Welcome');
// Wait for network idle
await page.waitForLoadState('networkidle');
// Wait with timeout
await page.waitForSelector('.element', { timeout: 5000 });Authentication
// Save auth state
const context = await browser.newContext();
await context.storageState({ path: 'auth.json' });
// Load auth state
const context = await browser.newContext({ storageState: 'auth.json' });Command Line
# Run with specific browser
npx playwright test --project=chromium
npx playwright test --project=firefox
npx playwright test --project=webkit
# Run headed (visible browser)
npx playwright test --headed
# Debug mode
npx playwright test --debug
# Generate code from actions
npx playwright codegen https://example.comTips
- Use
headless: falseto see browser during development - Use
codegento record actions and generate code - Use
waitForLoadState('networkidle')for dynamic content - Use
page.pause()for debugging - Screenshots: PNG, JPEG supported
Triggers
browser automation, playwright, web scraping, automate browser, click, fill form, screenshot, web testing
Other versions50 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 50
- zhaoxuya520/reverse-skill-private★ 40ksame name
- zhaoxuya520/reverse-skill★ 38ksame name
- civitai/civitai★ 7.3ksame name
- pierrecomputer/pierre★ 6.4ksame name
- coco-research/coco★ 797same name
- SHAdd0WTAka/Zen-Ai-Pentest★ 470same name
- web-infra-dev/midscene-skills★ 313same name
- irahardianto/awesome-agv★ 157same name
- cigery-useio/useio-skills★ 103same name
- galiprandi/job-seeker★ 64same name
40 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use api-test-suite-builder, karpathy-coder and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Arnav-0Skillapi-test-suite-builder
Use when the user asks to generate API tests, create integration test suites, test REST endpoints, or build contract tests.
Also in 5 projects that use this
csiddhant796-blipSkillkarpathy-coder
Use when writing, reviewing, or committing code to enforce Karpathy's 4 coding principles — surface assumptions before coding, keep it simple, make surgical changes, define verifiable goals. Triggers on "review my diff", "check complexity", "am I overcomplicating this", "karpathy check", "before I commit", or any code quality concern where the LLM might be overcoding.
Also in 4 projects that use this
csiddhant796-blipSkillself-eval
Honestly evaluate AI work quality using a two-axis scoring system. Use after completing a task, code review, or work session to get an unbiased assessment. Detects score inflation, forces devil's advocate reasoning, and persists scores across sessions.
Also in 4 projects that use this
DorianGalloSkillbinary-diff
跨版本符号迁移与二进制差分。当你有旧版本的符号/逆向结果,需要快速迁移到新版本时使用。 适用场景:内核缺 PDB 用旧版符号推导、程序更新后批量迁移函数名、应用更新后快速定位新偏移。 核心方法:用 LLM 做结构化差异比对,程序化输入输出,成本极低(200 函数 ~1 元)。 触发关键词:符号迁移、bindiff、跨版本、PDB 缺失、函数偏移迁移、symbol migration、binary diff、版本对比。
Also in 5 projects that use this
DorianGalloSkilljs-reverse
Also in 5 projects that use this
Roshu18Skillpentest-tools
Tool selection policy for BearStrike based on target type, scan risk, and signal strength.
Also in 6 projects that use this
- +4 more from DorianGallo
In this repository83 other files it gives its agents.
- a11y-axeSkill
- airtableSkill
- asanaSkill
- audio-ttsSkill
- aws-cliSkill
- azure-cliSkill
- backupSkill
- bookmarksSkill
- bundler-analyzeSkill
- calculatorSkill
- calendarSkill
- cargoSkill
- changelog-genSkill
- claude-codeSkill
- clickupSkill
- color-contrastSkill
- crypto-walletSkill
- databaseSkill
- discordSkill
- docker-composeSkill
- dockerSkill
- dora-metricsSkill
- emailSkill
- ffmpegSkill
- filesystemSkill
- gcloudSkill
- githubSkill
- gmailSkill
- gogSkill
- google-calendarSkill
- habitsSkill
- healthSkill
- hubspotSkill
- image-genSkill
- imagemagickSkill
- image-toolsSkill
- jiraSkill
- journalSkill
- kubernetesSkill
- lighthouseSkill
- linearSkill
- locationSkill
- media-configSkill
- meeting-notesSkill
- nginxSkill
- notesSkill
- notionSkill
- obsidianSkill
- ocrSkill
- pandocSkill
- paymentsSkill
- pdf-toolsSkill
- pip-poetrySkill
- pm2Skill
- pomodoroSkill
- project-managerSkill
- qr-codeSkill
- railway-deploySkill
- redis-cliSkill
- release-notesSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

