Back to Plugins

Playwright

Browser automation and end-to-end testing by Microsoft. Enables Claude to interact with web pages, take screenshots, fill forms, click elements, and perform automated browser testing workflows across Chromium, Firefox, and WebKit.

testingautomationbrowsere2eofficial

Installation

claude plugins add playwright@claude-plugins-official

Configuration

{
  "enabledPlugins": {
    "playwright@claude-plugins-official": true
  }
}

Commands

/playwright-testRun Playwright tests or create new test files
/playwright-screenshotTake screenshots of web pages
/playwright-traceRecord and analyze test traces
/playwright-codegenGenerate test code from browser interactions

How to install

  1. Open Claude Code in your terminal
  2. Run the installation command above
  3. The plugin will be enabled automatically
  4. Use the plugin's features in your Claude Code sessions
View source on GitHub