Hacker News new | past | comments | ask | show | jobs | submit login

If you ever find that you need to automate some browsing and Selenium comes to your mind, banish that thought! :)

Do yourself a favour, use Playwright instead.

https://playwright.dev/

It's a headless browser that's both faster and less flaky than Selenium.




I use playwright to run an automated test every time I deploy to staging.

I don't think it's caught any real bugs yet because I haven't actually broken anything but the playwright script keeps running reliably it includes a login and fills out a big long complicated form. Works great. Very quick. Selenium was slow and unreliable.


I hate Microsoft with a passion but Playwright is a gem.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: