Playwright (@playwrightweb) header
Playwright (@playwrightweb) profile picture

Playwright is an automation library for cross-browser end-to-end testing by @Microsoft. Available in JavaScript, TypeScript, Python, Java and .NET.

Joined May 2020
Photo by Playwright (@playwrightweb)Photo by Playwright (@playwrightweb)Photo by Playwright (@playwrightweb)Photo by Playwright (@playwrightweb)Photo by Playwright (@playwrightweb)Photo by Playwright (@playwrightweb)Photo by Playwright (@playwrightweb)Photo by Playwright (@playwrightweb)
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/playwri… npm i -g @playwright/cli@latest github.com/microsoft/playwri…
49
126
6
1,246
80,482
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!
44
276
33
2,353
170,419
🧱 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/playwri… Docs: playwright.dev/docs/test-com…
9
21
3
197
26,646
🎭 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-…
8
25
295
26,297
🛠️ 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/playwri…
15
98
9
975
88,908
🎭 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/playwri…
5
26
2
323
19,660
Playwright CLI vs MCP comparison youtube.com/watch?v=Be0ceKN8…
10
37
1
224
18,018
📢 Meet Playwright CLI — a SKILL-friendly way of the browser automation. Learn more at github.com/microsoft/playwri…. Happy testing!
27
164
27
1,327
188,481
🚀 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
23
717
142,963
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
34
2
205
21,492
Use Playwright MCP with GitHub Copilot to generate real Playwright tests using natural language. youtube.com/watch?v=AaCj939X…
3
91
501
57,430
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=xI3k… #PlaywrightMCP #AI #DevTools
10
110
9
816
115,642
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/playwri…
18
390
49
2,619
186,618
🚀 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
2
195
19,189
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/playwri…
8
12
1
83
7,501
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
14
1
64
7,629
Playwright 1.49 is out! 📸 Snapshot testing 🧟 Chromium headless changes youtube.com/watch?v=S5wCft-I…
3
27
2
138
28,468
Playwright 1.48 is out! 🤖  WebSocket Routing 👁️  UI Mode Network Tab Improvements Watch the release video: youtu.be/VGlkSBkMVCQ
2
29
1
189
13,103