3 ms·
Playwright can run tests in multiple windows as well as tests that cross multiple domain origins. My team builds a collaborative app where we wanted to cover sc
by cebert 4y ago
Playwright can run tests in multiple windows as well as tests that cross multiple domain origins. My team builds a collaborative app where we wanted to cover scenarios where two different users collaborated on the same page. This was easy to implement in Playwright, in Cypress it is not possible. We can open two browser windows with Playwright and simulate two or more users simultaneously editing a page.
Also Playwright is a general browser automation tool and can be used for more things than just testing. For example, scraping website data or generating preview thumbnails for URLs.
- brightball 4y agoAre there any good tutorials out there for using Playwright for scraping? Never tried it but I have a need right now.
- symaxian 4y agoSelenium can definitely run tests in multiple windows. You can open multiple tabs within the same browser window, or you can create multiple WebDriver instances for multiple windows.
- cebert 4y agoFair point. Cypress cannot, the initiator of this comment thread context asked what Selenium can’t do that Playwright can, but my brain misred this as “Cypress”. Sorry about that.
- deleted 4y ago[deleted]
- deleted 4y ago[deleted]