7 ms·
Funny this popped up...I've been looking at replacing our slow and flaky Selenium test suite recently. From what I can tell here are the benefits: * With Play
by wickchuck 4y ago
Funny this popped up...I've been looking at replacing our slow and flaky Selenium test suite recently.
From what I can tell here are the benefits:
* With Playwright you don't need to put manual waits in your program. It's async.
* You also don't need to keep updating the Selenium.Webdriver to stay in sync with your browser version. This is a 15-20 minute time sink each time it happens.
* Can run in headless mode which will run the test suite much faster than selenium.
* Also appears to have better command line options to be run from a CI/CD environment
- nyuszika7h 4y agoselenium also supports headless mode though, or is playwright's one different?
- sebazzz 4y ago> With Playwright you don't need to put manual waits in your program. It's async. That is just choosing between a blocking method or... a blocking method which suspends and resumes a thread. > headless mode That is really up to the browser driver to implement that, and you can do that perfectly fine in Selenium.
- hansvm 4y agoSelenium supports things like waiting till an element is clickable? The webdriver issue is definitely annoying though. Not sure if there's a better way, but we're using a binary regex on the electron app in question to find a matching version and download it on the fly as part of test setup.