Pinned Tweet
Playwright MCP or Playwright CLI: pick either, your agent gets all of this 🎭

🧰 WebMCP: pages hand the agent their own tools
🔎 Find: grep the page instead of reading all of it
🪶 Leaner snapshots, fewer tokens on every step
🔴 Do it by hand once, get Playwright code back
🗣️ Codegen in TypeScript, Python, Java and C#
🔌 Your real Chrome, logins included
🎬 60 fps video with an animated cursor and chapters
📱 Mobile and device emulation
🌗 Light/dark flipped mid-session
🌐 Mock any request, or pull the plug and go offline
📸 Hi-res screenshots
🩹 Crashed tab or dropped connection? It'll recover

npx @playwright/mcp@latest
github.com/microsoft/play…

npm i -g @playwright/cli@latest
github.com/microsoft/play…
49
126
1,246
80,364
Playwright and browser security reminder.

We saw a post suggesting that you delete Playwright because it bundles browsers with CVEs. That is a misconception. Do not delete Playwright🙃. Here is how it works and what you should do.

No Playwright package bundles a browser. Agents on Playwright MCP or CLI run your stable Chrome, which gets Chrome's security updates, with the sandbox on.

🤖 If you use Playwright MCP or the Playwright CLI

They use the stable Chrome / Edge on your machine, so it gets its normal updates. No config edit is needed.

🧪 If you use the test runner

When you run npx playwright install, Playwright downloads Chrome for Testing, pinned to the build we tested that release against. The pin is on purpose. Your tests run on the same browser on every laptop and CI machine, and a browser
update cannot suddenly break your suite. You choose when to move by upgrading Playwright. New releases usually pin a build ahead of stable Chrome, so you see breakage before your users do.

We recommend this for full e2e test suites on your own trusted app. This build can miss Chrome security fixes until the next Playwright release, and by default it runs with the sandbox off. Do not use it on the hostile web.

📚 If you use the library API

chromium.launch() has the same defaults: the pinned build with the sandbox off. If your code visits pages you don't control (scrapers, agent scripts), max out protection:

chromium.launch({ channel: 'chrome', chromiumSandbox: true })

🔒 Always keep Chrome / Edge updated. Some bugs can escape a sandbox.

Happy testing!
43
272
2,344
167,571
🧱 Component testing in Playwright has a new shape: stories & galleries.

✍️ A story wraps your component in one scenario — props, providers, mock data — in a *.story.tsx file next to the component.
🖼️ A gallery page, served by your own dev server, renders stories on demand — React, Vue, Svelte, Solid, anything.

Using @playwright/experimental-ct-*? Give the new model a try and tell us how it goes:
👉 github.com/microsoft/play…

Docs: playwright.dev/docs/test-comp…
9
21
197
26,585
🎭 Catching up on Playwright releases — v1.60, v1.61 and v1.62 are out!

Highlights:

🔑 WebAuthn passkeys — a virtual authenticator lets you test passkey sign-in in every browser, no hardware key needed
🛑 AbortSignal support — cancel actions, navigations and assertions with a standard AbortController
🪝 locator.drop() — simulate external drag-and-drop of files onto upload zones, cross-browser
🗃️ page.localStorage / page.sessionStorage — read and write web storage directly
🖼️ WebP screenshots for visual comparisons — just name your snapshot .webp
🔁 retryStrategy: 'isolated' — run retries at the end, one by one, free of interference
🤖 Playwright MCP server and CLI now ship in the box: npx playwright mcp

Full release notes: playwright.dev/docs/release-n…
8
25
295
26,247
🛠️ playwright-cli v0.1.9 — sharper tools for coding agents:

🎯 highlight + show --annotate for visual confirmation
📦 drop files & clipboard data
🧭 generate-locator for stable refs
🧱 snapshot --boxes with bounding boxes
📤 --raw and --json everywhere

github.com/microsoft/play…
15
98
975
88,878
🎭 Playwright v1.59 — a belated tweet 🙈

📊 Dashboard to watch your agents at work
🎬 New Screencast API
♻️ await using support
🔗 browser.bind() to share a browser with playwright-cli & @playwright/mcp

github.com/microsoft/play…
5
26
323
19,647
Playwright CLI vs MCP comparison
youtube.com/watch?v=Be0ceK…
10
37
224
18,007
📢 Meet Playwright CLI — a SKILL-friendly way of the browser automation. Learn more at github.com/microsoft/play…. Happy testing!
27
164
1,327
188,467
Playwright Testing Agents: under the hood. Let's dive in and see how it all works

youtu.be/HLegcP8qxVY
2
10
81
14,378
🚀 Playwright Agents are here! (Playwright v1.56)

🤖 Planner → generates test plans
🛠️ Generator → generates runnable tests
🩹 Healer → debugs & fixes failing tests

Try it out:
npx playwright init-agents --loop=vscode/claude/opencode

youtu.be/_AifxZGxwuk
12
108
717
142,956
What's new in Playwright v1.52 & v1.53

🤖 Fix with AI
🖼️ describe() a locator
➕ Title in HTML Report
👁️ toContainClass
📷 Aria Snapshots supports children and url
▶️ Test runner updates

youtu.be/6s4hQy5Nel0
0
34
204
21,487
Use Playwright MCP with GitHub Copilot to generate real Playwright tests using natural language.
youtube.com/watch?v=AaCj93…
3
91
501
57,426
Playwright MCP: A way for AI agents to control browsers without screenshots or vision models.

See a live demo of an AI agent navigating GitHub and starring a repo!

youtu.be/2716IUeCIQo?si…

#PlaywrightMCP #AI #DevTools
10
110
816
115,637
With all the MCP hype, we went ahead and built an MCP server for Playwright. Ours is snapshot-based, which makes it faster and more reliable! You can opt into the visual mode too. Have fun! 🚀 #Playwright #MCP

github.com/microsoft/play…
18
391
2,619
186,612
🚀 Playwright 1.51 is here! Smarter debugging, enhanced reports & more!

✅ AI-friendly Copy Prompt for debugging
🪪 Git info in HTML reports
🔥 Firebase auth support (IndexedDB)
👁 Match only visible locators
🪜 Test step updates
📷 ARIA snapshot updates

youtu.be/-xWHilObrS0
3
25
195
19,188
2025 is around the corner! We wanted to thank you for being with us and helping Playwright grow. Post your wishes here, and who knows maybe they come true!

github.com/microsoft/play…
8
12
83
7,500
Playwright's new ARIA Snapshot testing makes it easier to test structure and content of your site. In this video, Simon demonstrates it and gives you an overview of how to use it. Check it out and happy testing!

#playwright #testing
youtu.be/P4R6hnsE0UY
0
14
63
7,628
Playwright 1.49 is out!

📸 Snapshot testing
🧟 Chromium headless changes

youtube.com/watch?v=S5wCft…
3
27
138
28,467
Playwright 1.48 is out!

🤖  WebSocket Routing
👁️  UI Mode Network Tab Improvements

Watch the release video:
youtu.be/VGlkSBkMVCQ
2
29
189
13,102
Playwright retweeted
We are going live on the @playwrightweb channel very soon to chat to @kentcdodds about testing and Epic React and so much more. Come join us

youtube.com/watch?v=ie2v5O…
1
5
23
14,462