shadd0wtaka/zen-ai-pentest/browser-automation

Claude Code and agent skill by shadd0wtaka/zen-ai-pentest

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install shadd0wtaka/zen-ai-pentest/browser-automation

SKILL.md

Browser Automation Skill

Workflows für Playwright, Puppeteer, Web Scraping, E2E-Testing, Screenshots.

Playwright

Setup
bash
npm init playwright@latest
npx playwright install chromium # + firefox, webkit
# Oder Docker:
docker run --rm --network host mcr.microsoft.com/playwright:v1.45.0 npx playwright test
Basic Script
python
from playwright.sync_api import sync_playwright
with sync_playwright() as p:
browser = p.chromium.launch(headless=True)
page = browser.new_page(viewport={"width": 1280, "height": 720})
page.goto("https://example.com")
page.fill("input[name=q]", "search term")
page.click("button[type=submit]")
page.wait_for_selector(".results")
html = page.content()
# Screenshot
page.screenshot(path="screenshot.png", full_page=True)
# PDF
page.pdf(path="page.pdf")
browser.close()
E2E Test
typescript
import { test, expect } from '@playwright/test';
test('user can login', async ({ page }) => {
await page.goto('/login');
await page.fill('#email', 'user@example.com');
await page.fill('#password', 'pass123');
await page.click('button[type="submit"]');
await expect(page.locator('.welcome')).toBeVisible();
await expect(page).toHaveURL(/\/dashboard/);
});

Puppeteer

javascript
import puppeteer from 'puppeteer';
const browser = await puppeteer.launch({ headless: 'new' });
const page = await browser.newPage();
await page.goto('https://example.com', { waitUntil: 'networkidle0' });
const text = await page.evaluate(() => document.body.innerText);
await page.screenshot({ path: 'page.png' });
await browser.close();

KI-Integration

python
# Combine browser + AI for intelligent scraping
page.goto("https://docs.example.com")
content = page.inner_text("main")
# Analyze via OmniRoute
resp = httpx.post(
"http://localhost:20128/v1/chat/completions",
json={
"model": "oc/deepseek-v4-flash-free",
"messages": [
{"role": "system", "content": "Extract all API endpoints from this documentation."},
{"role": "user", "content": content[:8000]},
],
},
)

Testing Patterns

bash
# Visual Regression
npx playwright test --update-snapshots # update baselines
npx playwright test # compare
# Component Testing (Storybook + Playwright)
npx test-storybook --url http://localhost:6006
# Accessibility
npx playwright test --project=accessibility
await page.accessibility.snapshot()

Debugging

bash
# Slow motion + DevTools
page = browser.new_page(slow_mo=500, devtools=True)
# Trace
await page.tracing.start({screenshots: true, snapshots: true})
# ... test ...
await page.tracing.stop(path="trace.zip")
# View: https://trace.playwright.dev/

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
433
Repository forks
76
7-day trend score
30

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/shadd0wtaka/zen-ai-pentest/browser-automation/badge)](https://verified-skill.com/skills/shadd0wtaka/zen-ai-pentest/browser-automation)

Something wrong with this skill or its page? Tell us.