Playwright Dev

🏢Official
by microsoft · vlatest · Repository

Automates browser interactions to create, run, and debug end-to-end web tests quickly and reliably.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add playwright-dev npx -- -y @trustedskills/playwright-dev
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "playwright-dev": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/playwright-dev"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The playwright-dev skill enables automated browser testing and web scraping. It allows AI agents to interact with webpages, simulate user actions like clicks and form submissions, and extract data from dynamic content. This skill is built by Microsoft as part of the Playwright project.

When to use it

  • Automated Testing: Verify that a website's functionality works as expected after code changes or updates.
  • Web Scraping: Extract specific information (e.g., product prices, news headlines) from websites programmatically.
  • End-to-End Tests: Simulate user workflows through an entire application to ensure all components integrate correctly.
  • Performance Monitoring: Measure website loading times and identify performance bottlenecks.

Key capabilities

  • Automated browser control
  • Simulated user actions (clicks, typing)
  • Data extraction from webpages
  • Support for multiple browsers (Chromium, Firefox, WebKit)

Example prompts

  • "Run the test suite located at /tests/example.spec.js."
  • "Scrape all product names and prices from https://www.example-store.com/products."
  • "Fill out the registration form on https://www.example.com/register with these details: [user data]."

Tips & gotchas

  • Requires familiarity with JavaScript and Playwright's API for more complex tasks.
  • Websites often employ anti-scraping measures; be mindful of terms of service and implement respectful scraping practices.

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 HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
microsoft
Installs
0

🏢 Official

Published by the company or team that built the technology.