When I first started my career, every job description you'd read had selenium webdriver in it. Synchronization was important. Some people did it right and some people didn't and when it wasn't done right you ended up with arbitrary waits everywhere in the project, introducing flake and watering down confidence in the suite. Flake, the amount of time it takes to dig out root cause of a test failure, how long it takes to simply glance at a test and deduce what exactly it's testing, these things all become costly if it's hard and time consuming to do. The assignment is to release software quickly and have confidence that tests don't pass when they shouldn't and don't fail when they shouldn't. Understanding the assignment is paramount to success.
Cypress enters the chat... This was a completely different approach. From what I can tell, they render the app under test in an iframe instead of sending http requests to the browsers w3 standardized webdriver api, they use the browsers native api. This made the tests far more stable and dare I say much faster if you used fixtures. With fixtures, you completely remove network traffic from the mix. If you blink you're going to miss everything. The trade offs were many at the time; which I think they've overcome a great deal of them; even some things they said they'd never support.
Cypress Trade offs:
There is also Puppeteer, it also is nearly flake-less if tests were authored correctly. Like cypress and selenium, there are once again trade offs.
Puppeteer Trade offs:
Selenium Trade offs:
The trade offs made making a decision for a green project frustrating. There was always caveat that wasn't really great to live with.
Playwright enters the chat... It's all the feature richness and compatibility of Selenium. What I like the most is we as playwright users aren't cornered into building a project limited by the boundaries of the opinions of the creators.
Why it's my new favorite:
They're on discord and slack with a massive community. Adoption is important and it speaks volumes if the industry at large is migrating to it.