Hacker GitHub

← All repos

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

Mentions per year 52 mentions · busiest year 2020 (20)
20082026
  1. …use it to automate websites, spanning use-cases like QA Testing, Web scraping, Form filling, etc https://github.com/microsoft/playwright
  2. How does this compare to Playwwright? It got a similar feature recently [0] [0] https://github.com/microsoft/playwright/releases/tag/v1.59.0
  3. 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
  4. …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…
  5. …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...
  6. …(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... )
  7. …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
  8. …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…
  9. …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
  10. …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
  11. …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
  12. …for their automation library. I just filed an issue pointing out that this is confusing. https://github.com/microsoft/playwright/issues/29579
  13. …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
  14. Memory usage increases for long-running session, see this issue for more details: https://github.com/microsoft/playwright/issues/6319
  15. 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
  16. 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
  17. 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
  18. …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/
  19. …When the content is complex or involves clicking, Playwright is probably the best tool for the job. https://github.com/microsoft/playwright
  20. …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
  21. …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:…
  22. …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... -…
  23. 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
  24. …[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
  25. …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
  26. …the popular rendering engines. We'd like to see Playwright vendor-neutral and shared governed. [0] https://github.com/microsoft/playwright/pull/711/files
  27. If it's a website, I'd look into https://www.cypress.io or https://github.com/microsoft/playwright
  28. Do check out https://github.com/microsoft/playwright - Node.js library to automate Chromium, Firefox and WebKit with a single API
  29. …[2] https://docs.cypress.io/api/commands/then.html#Yields [3] https://github.com/microsoft/playwright
  30. 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
  31. 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.
  32. …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…
  33. Playwright looks promising if you’re OK with a narrower range of browsers: https://github.com/microsoft/playwright
  34. …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
  35. …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 .
  36. …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…
  37. …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…
  38. …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.…
  39. Great! Let us know if you end up having any questions/comments/feedback: https://github.com/microsoft/playwright .
  40. …but also more enjoyable. So we’re keen to hear how we can continue to push that goal forward :) https://github.com/microsoft/playwright
  41. …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…
  42. …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.