microsoft/playwright
View on GitHub ↗ ★ 99,092 TypeScript
Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
52 mentions on Hacker News by 41 people: 10 stories, 42 comments · first 2020-01-22 · latest 2026-07-16
20082026
-
…use it to automate websites, spanning use-cases like QA Testing, Web scraping, Form filling, etc https://github.com/microsoft/playwright
comment by suchintan · 2026-07-16 · in Rustwright: Playwright rewritten in Rust that uses 70% less memory -
How does this compare to Playwwright? It got a similar feature recently [0] [0] https://github.com/microsoft/playwright/releases/tag/v1.59.0
comment by Klaster_1 · 2026-05-02 · in Create an MP4 video of a web page scrolling at a steady speed -
The popular Playwright MCP uses the Chrome accessibility tree to help agents navigate websites: https://github.com/microsoft/playwright/blob/ed176022a63add8...
comment by simonw · 2026-01-24 · in JSON-render: LLM-based JSON-to-UI tool -
…workers using Playwright's CDPSession wrapper (and they don't seem to have any plans to improve it: https://github.com/microsoft/playwright/issues/22992#issueco... ), whereas it was pretty painless in Puppeteer. So, definitely more useful…
comment by tbrockman · 2025-08-21 · in Closer to the Metal: Leaving Playwright for CDP -
…it into a repo or share my elisp because I don’t want to get banned by Anthropic. Here’s a hint: https://github.com/microsoft/playwright/issues/10369#issueco...
comment by nickysielicki · 2025-04-19 · in Show HN: AgentAPI – HTTP API for Claude Code, Goose, Aider, and Codex -
…(For those not familiar, Pavel is the largest contributor to both Playwright and Playwright MCP: https://github.com/microsoft/playwright/graphs/contributors , https://github.com/microsoft/playwright-mcp/graphs/contribut... )
comment by namuorg · 2025-04-08 · in Show HN: Browser MCP – Automate your browser using Cursor, Claude, VS Code -
…So it should be possible. See [2]. [1] https://code.visualstudio.com/api/references/commands [2] https://github.com/microsoft/playwright/issues/22351
comment by seansh · 2024-12-22 · in CodeMic: A new way to talk about code -
…mean the different command-line options available? As for Playwright, they aren't undetected: See https://github.com/microsoft/playwright/issues/23884#issueco... - "Playwright is an end-to-end testing framework, where we expect you test on…
comment by seleniumbase · 2024-12-17 · in SeleniumBase: Python APIs for web automation and bypassing bot-detection -
…Python and Java around Puppeteer. At the core there is a ton of code still used from Puppeteer. [0] https://github.com/microsoft/playwright/tree/48627ad48405583...
comment by dataviz1000 · 2024-08-08 · in Puppeteer Support for Firefox -
…say that playwright started out as a fork (Which, again, it did not as far as I can tell). [1] https://github.com/microsoft/playwright/commit/9ba375c063448... [2] https://github.com/microsoft/playwright/blob/3d2b5e680147577...
comment by creesch · 2024-08-08 · in Puppeteer Support for Firefox -
…it's not much effort to write the test yourself than it is to refactor all of the redundancies. 1. https://github.com/microsoft/playwright/assets/13063165/7794...
comment by throwaway74432 · 2024-03-14 · in Playwright Test Generator -
…for their automation library. I just filed an issue pointing out that this is confusing. https://github.com/microsoft/playwright/issues/29579
comment by simonw · 2024-02-20 · in Web Scraping in Python – The Complete Guide -
…where the only solution was to inject sinon into the page which I wouldn't consider a great option: https://github.com/microsoft/playwright/issues/10230
comment by kolodny · 2024-02-13 · in SafeTest: A novel approach to front end testing -
Memory usage increases for long-running session, see this issue for more details: https://github.com/microsoft/playwright/issues/6319
comment by ikreymer · 2023-08-01 · in Webrecorder: Capture interactive websites and replay them at a later time -
Good news! Microsoft makes a Webkit browser that's up to date with Safari's webkit version. https://github.com/microsoft/playwright
comment by selectodude · 2023-04-03 · in Safari releases are development hell -
New UI mode with a graphical debugging env. Major win for users nice. https://github.com/microsoft/playwright/releases/tag/v1.32.0
comment by rektide · 2023-03-22 · in What's New in Playwright 1.32 -
see also https://github.com/microsoft/playwright/releases/tag/v1.29.0
comment by rektide · 2022-12-23 · in What's New in Playwright 1.29 -
…That's our main reason why we keep using Selenium (with pytest-selenium) and Selenium Grid [2]. [1] https://github.com/microsoft/playwright/issues/1799 [2] https://www.selenium.dev/documentation/grid/
comment by felixhummel · 2022-11-10 · in Web automation: Don't use Selenium, use Playwright -
…When the content is complex or involves clicking, Playwright is probably the best tool for the job. https://github.com/microsoft/playwright
comment by ravenstine · 2022-08-10 · in Ask HN: What are the best tools for web scraping in 2022? -
…headless browser API is super helpful, playwright[1] and puppeteer[2] are very good choices. [1] https://github.com/microsoft/playwright [2] https://github.com/puppeteer/puppeteer
comment by snehesht · 2022-08-10 · in Ask HN: What are the best tools for web scraping in 2022? -
…actually used the DevTools protocol rather than the WebDriver protocol, as mentioned here: https://github.com/microsoft/playwright/issues/4862 And there's a bit of detail about how they're different here:…
comment by nmstoker · 2022-04-29 · in Web scraping via JavaScript runtime heap snapshots -
…can achieve nearly all the things cypress can & more due to it being a fully scriptable browser - https://github.com/microsoft/playwright/discussions/11201 - https://cathalmacdonnacha.com/cypress-vs-playwright-which-is... -…
comment by cfrover · 2022-01-28 · in Playwright: Automate Chromium, WebKit and Firefox -
Looking at the source, I wonder why lots of the files have Google copyright? https://github.com/microsoft/playwright/blob/0d277fa589e9508... edit: ah puppeteer was a Google project. I forgot
comment by shp0ngle · 2022-01-28 · in Playwright: Automate Chromium, WebKit and Firefox -
…[0] - https://github.com/aslushnikov [1] - https://github.com/puppeteer/puppeteer/ [2] - https://github.com/microsoft/playwright/graphs/contributors [3] - https://github.com/microsoft/playwright/graphs/contributors
comment by syspec · 2022-01-27 · in Playwright: Automate Chromium, WebKit and Firefox -
…instance? execute tests parallelly? There's also alternative to Selenium by Microsoft: https://github.com/microsoft/playwright AFAIK it's way more reliable than Selenium (false errors) __________ Overall you can still start application…
comment by tester34 · 2021-09-14 · in Minimal APIs at a glance in .NET 6 -
…the popular rendering engines. We'd like to see Playwright vendor-neutral and shared governed. [0] https://github.com/microsoft/playwright/pull/711/files
comment by hankchinaski · 2021-04-07 · in Playwright-test – cross-browser end-to-end test suite with Playwright -
If it's a website, I'd look into https://www.cypress.io or https://github.com/microsoft/playwright
comment by nikivi · 2021-01-05 · in Ask HN: How should I test all potential combinations of user actions? -
Do check out https://github.com/microsoft/playwright - Node.js library to automate Chromium, Firefox and WebKit with a single API
comment by tardismechanic · 2020-12-19 · in Improving Cross-Browser Testing, Part 1: Web Application Testing Today -
…[2] https://docs.cypress.io/api/commands/then.html#Yields [3] https://github.com/microsoft/playwright
comment by azemetre · 2020-12-11 · in Cypress: Fast, easy, and reliable testing for anything that runs in a browser -
I really like Playwright, there is less magic and it simply works: https://github.com/microsoft/playwright Especially with this test runner: https://github.com/microsoft/playwright-test
comment by mxschmitt · 2020-12-11 · in Cypress: Fast, easy, and reliable testing for anything that runs in a browser -
I've found playwright more useful: https://github.com/microsoft/playwright It's an alternative to Cypress and from what I remember, it has a much better API.
comment by nhooyr · 2020-12-11 · in Cypress: Fast, easy, and reliable testing for anything that runs in a browser -
…is the linked site is quoting the FAQ of playwright that has been removed a couple of months ago: https://github.com/microsoft/playwright/pull/1930/files That FAQ seems to be giving a lot of perspective on the subject. Wondered why it was…
comment by skywal_l · 2020-08-19 · in Theheadless.dev – open source Puppeteer and Playwright knowledge base -
Playwright looks promising if you’re OK with a narrower range of browsers: https://github.com/microsoft/playwright
comment by sophiebits · 2020-04-05 · in Ask HN: Is Selenium still the best automation tool in 2020? -
…called playwright, though it's js-only for now. They don't have plan for Python bindings for now https://github.com/microsoft/playwright/issues/1043
comment by ivan_ah · 2020-02-26 · in Show HN: Helium – Lighter web automation based on Selenium -
…API quite a bit (based on feedback), so don’t hesitate to let us know if/how they can be improved: https://github.com/microsoft/playwright .
comment by lostintangent · 2020-02-17 · in Ask HN: What automation tools have you used to replace mundane activities? -
…instances, but it currently requires you to get the “debug URL” of the browser instance first: https://github.com/microsoft/playwright/blob/v0.11.1/docs/ap... . I’d love to hear a bit more about the scenario you have in mind, since that…
comment by lostintangent · 2020-02-17 · in Ask HN: What automation tools have you used to replace mundane activities? -
…project discourage your interest? The team is working very hard to be open/transparent/available ( https://github.com/microsoft/playwright ), and we’re very excited to build a better automation stack with the help of the community. I only…
comment by lostintangent · 2020-02-17 · in Ask HN: What automation tools have you used to replace mundane activities? -
…additional extensibility points. For example, we allow you to define custom “selector engines” ( https://github.com/microsoft/playwright/blob/master/docs/sel... ), which is just one example of the kinds of customizations we want to enable.…
comment by lostintangent · 2020-02-17 · in Ask HN: What automation tools have you used to replace mundane activities? -
Great! Let us know if you end up having any questions/comments/feedback: https://github.com/microsoft/playwright .
comment by lostintangent · 2020-02-17 · in Ask HN: What automation tools have you used to replace mundane activities? -
…but also more enjoyable. So we’re keen to hear how we can continue to push that goal forward :) https://github.com/microsoft/playwright
comment by lostintangent · 2020-02-17 · in Ask HN: What automation tools have you used to replace mundane activities? -
…somewhat experimental, but we think this can enable another level of robustness to test automation: https://github.com/microsoft/playwright/blob/master/docs/sel... . Finally, in addition to waiting for element visibility, Playwright allows…
comment by lostintangent · 2020-02-17 · in Ask HN: What automation tools have you used to replace mundane activities? -
…developer ergonomics and reliability (death to flakiness!). Might be worth checking out? https://github.com/microsoft/playwright . Disclaimer: I work with the Playwright team at Microsoft.
comment by lostintangent · 2020-02-17 · in Ask HN: What automation tools have you used to replace mundane activities?