Playwright Scraper
Extracts structured data from dynamic web pages using Playwright automation for robust test data generation.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add playwright-scraper npx -- -y @trustedskills/playwright-scraper
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"playwright-scraper": {
"command": "npx",
"args": [
"-y",
"@trustedskills/playwright-scraper"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The playwright-scraper skill leverages Playwright and scraping techniques to extract data from websites. It can automate tasks like gathering product information, collecting news articles, or compiling lists of resources from online sources. This allows for efficient data collection that would be time-consuming or impractical to do manually.
When to use it
- Product Research: Gather pricing and specifications for products listed on e-commerce sites.
- News Aggregation: Collect headlines and summaries from multiple news websites.
- Lead Generation: Extract contact information (email addresses, phone numbers) from company directories or listing pages.
- Data Migration: Copy data from legacy systems to a new database by scraping the old system's web interface.
Key capabilities
- Playwright automation framework integration
- Web scraping functionality
- Automated data extraction
- Targeted data collection from websites
Example prompts
- "Scrape all product names and prices from example.com/products."
- "Extract the latest 10 news headlines from cnn.com."
- "Find all email addresses listed on companydirectory.org."
Tips & gotchas
This skill requires a working understanding of web scraping principles, including respecting website terms of service and robots.txt files to avoid being blocked. Be mindful of potential changes to the target website's structure, as this can break your scraper.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.