playwright — Claude Code plugin for browser testing
This plugin lets Claude Code interact with web pages, fill forms, click elements, and take screenshots. Use it for browser automation and end-to-end testing.
/plugin install playwright@claude-plugins-official
/plugin marketplace add anthropics/claude-plugins-officialWhat playwright does
The plugin lets Claude Code work with web pages: it can click elements, fill forms, and take screenshots. These actions support automated browser checks of user flows.
It is described as an MCP server for browser automation and end-to-end testing. Check that the actions match your test scenario; screenshots and form filling are among the capabilities listed.
What it helps with
- test a user flow in a browser
- fill out a web form during a test
- capture a page screenshot
- click interface elements automatically
Example prompts for the agent
- Open the app page and test the main user flow in the browser.
- Fill in the form on the page with test data and take a screenshot of the result.
- Check that the required page elements can be clicked during an end-to-end test.
How to install playwright
Plugin marketplace
/plugin install playwright@claude-plugins-official/plugin marketplace add anthropics/claude-plugins-officialStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about playwright
How do I install playwright in Claude Code?
Run /plugin marketplace add anthropics/claude-plugins-official, then run /plugin install playwright@claude-plugins-official.
What does the playwright plugin do?
It lets Claude Code interact with web pages by clicking elements, filling forms, and taking screenshots. The plugin is for browser automation and end-to-end testing.
What browser actions does playwright support?
The listed actions include visiting web pages, clicking elements, filling forms, and taking screenshots.
Source text
playwright · Apache-2.0
Browser automation and end-to-end testing MCP server by Microsoft. Enables Claude to interact with web pages, take screenshots, fill forms, click elements, and perform automated browser testing workflows.
© Microsoft · Apache-2.0 · anthropics/claude-plugins-official