Skip to content
Back to skills

Playwright

ASecurity

Browser automation with Playwright MCP. Use for web scraping, testing, screenshots, and browser interactions.

  • 279 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
developmentjavascriptjavareactvueangularnodetestingapi

Works with

  • cli
  • api
  • mcp

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 8, 2026

npx -y skills add infometa/workbuddyskills --skill playwright --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Playwright?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Playwright
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/infometa-playwright/badge)](https://www.skillsdirectory.com/skills/infometa-playwright)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Browser automation with Playwright MCP. Use for web scraping, testing, screenshots, and browser interactions.
mcp:
  playwright:
    command: npx
    args: ["@playwright/mcp@latest"]
---

# Playwright Browser Automation

This skill provides browser automation capabilities via the Playwright MCP server.

## When to Use

Use this skill for:
- Web scraping and data extraction
- Automated browser testing
- Taking screenshots of web pages
- Form filling and user interaction simulation
- Monitoring and validation of web applications
- DOM element inspection and manipulation

## Capabilities

Through the Playwright MCP, this skill provides:

### Navigation & Page Control
- Navigate to URLs
- Take screenshots (full page or specific elements)
- Execute JavaScript in page context
- Get page content and HTML

### Element Interaction
- Click elements
- Fill in forms and inputs
- Select dropdown options
- Hover over elements
- Press keyboard keys

### Inspection & Validation
- Get element attributes and properties
- Extract text content
- Verify element existence
- Check element visibility
- Validate page state

### Advanced Features
- Handle multiple tabs/windows
- Wait for specific conditions
- Capture network requests
- Manage browser cookies
- Handle file uploads/downloads

## Usage Examples

### Basic Navigation and Screenshot
```
Use skill playwright to navigate to https://example.com and take a screenshot
```

### Form Automation
```
Use skill playwright to:
1. Navigate to https://example.com/login
2. Fill in username field with "test@example.com"
3. Fill in password field with "password123"
4. Click the submit button
5. Take a screenshot of the result
```

### Data Extraction
```
Use skill playwright to scrape product prices from https://example.com/products
```

### Testing
```
Use skill playwright to test the checkout flow on our staging site
```

## Notes

- The Playwright MCP server will be automatically started when this skill is used
- Browser runs in headless mode by default
- Screenshots are saved to the current directory
- Supports modern web standards (ES6+, Web Components, etc.)
- Works with SPA frameworks (React, Vue, Angular)

## Requirements

- Node.js 14+ (for npx)
- Internet connection (to install MCP server on first use)
- Sufficient disk space for Chromium browser

## Troubleshooting

If the skill fails to start:
1. Verify Node.js is installed: `node --version`
2. Check network connectivity
3. Try manual installation: `npm install -g @playwright/mcp`
4. Check system resources (RAM, disk space)


Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…