Hacker News new | past | comments | ask | show | jobs | submit | arjun27's comments login

With the latest release, Playwright includes an integrated test runner: https://playwright.dev/docs/next/test-intro


Were you able to use the DOM snapshots to debug why the selectors did not resolve? Would love to know more.


> DOM snapshots

I should definitely try that the next time I'm working on this issue. Maybe I can get some kind of small example as well if possible. But replicating the problematic conditions is probably hard.


Playwright has always supported all platforms: Win, Linux and Mac. Is there something that didn’t work for you?


Maybe it didn't have python support? Sorry, I may have misremembered. I do remember something missing that I couldn't use it in my existing dev setup. As solo developer, I prefer to keep my dependencies minimal, mostly python.


In short: support for WebKit (to test Safari), out-of-process automation (not constrained by scope of in-page JavaScript, for example, to test multiple pages/frames/domains), support for non-JS language bindings. For a more comprehensive list, check out "Why Playwright?"[1].

[1] https://playwright.dev/#version=v1.4.1&path=docs%2Fwhy-playw...


Thanks for the feedback! I'm on the Playwright team.

We are building playwright-runner[1] to solve this problem. We are dogfooding the project internally, and a few weeks away from opening it up to early adopters.

[1] https://github.com/microsoft/playwright-runner


It does not support Drag & drop, is it right?

I think the support is missing in Playwright.

Are there any plans about this?


tl;dr: Better ergonomics, faster, more reliable and more coverage of web platform.

* The Playwright API auto-waits for the right conditions on every action on the page (click, fill). This ensures automation scripts are concise to write and maintain over time.[1]

* Unlike Selenium, Playwright uses an bi-directional channel between the browser and automation script. This channel is used to listen to events from the browser (like page "load" event, network requests). These events enable Playwright scripts to be precise about browser state and prevent the need to rely on sleeps/timeouts, which contribute to flakiness of Selenium scripts. This is also exposed in the API, for more powerful automation[2].

* Playwright also has a wider coverage for modern browser features, including device emulation, web workers, shadow DOM, geolocation, and permissions.

[1] https://playwright.dev/#version=v1.3.0&path=docs%2Factionabi... [2] https://playwright.dev/#version=v1.3.0&path=docs%2Fapi.md&q=...


Thanks for the feedback. I'm from the Playwright team, and I'd love to know more on what was missing for you.


Awesome work and love the pricing model.


Good to hear. I didn't want to price it too steep and compete with Handsontable and ag-grid. They are wonderful products, but if you need a highly customisable, performance driven spreadsheet, which is declarative, I would highly suggest trying our product.

:)


more like Cloudflared


- Banning TikTok would move traffic to Instagram, not a “local Indian entrepreneur”

- the Indian startup ecosystem is dependent on external capital, a lot of which comes from China. This protectionist attitude will lead to a overall negative sentiment about investing in Indian tech.


Your first point actually seems pretty unclear for something stated as fact. TikTok and Instagram are both social networks, sure, but they’re quite different


Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: