> Is there any reason why I should consider Selenium or Puppeteer?
I'm not a heavy user of these tools, but I've dabbled in this space.
I think Playwright is far ahead as far as features and robustness go compared to alternatives. Firefox has been supported for a long time, as well as other features mentioned in this announcement like network interception and preload scripts. CDP in general is much more mature than WebDriver BiDi. Playwright also has a more modern API, with official bindings in several languages.
One benefit of WebDriver BiDi is that it's in process of becoming a W3C standard, which might lead to wider adoption eventually.
But today, I don't see a reason to use anything other than Playwright. Happy to read alternative opinions, though.
Both Selenium and Playwright are very solid tools, a lot simply comes down to choice and experience.
One of the benefits of using Selenium is the extensive ecosystem surrounding it. Things like Selenium grid make parallel and cross-browser testing much easier either on self hosted hardware or through services like saucelabs.
Playwright can be used with similar services like browserstack but AFAIK that requires an extra layer of their in-house SDK to actually make it work.
Selenium also supports more browsers, although you can wonder how much use that is given the Chrome dominance these days.
Another important difference is that Playwright really is a test automation framework, where Selenium is "just" a browser automation library. With Selenium you need to bring the assertion library, testrunner, reporting in yourself.
I'm not a heavy user of these tools, but I've dabbled in this space.
I think Playwright is far ahead as far as features and robustness go compared to alternatives. Firefox has been supported for a long time, as well as other features mentioned in this announcement like network interception and preload scripts. CDP in general is much more mature than WebDriver BiDi. Playwright also has a more modern API, with official bindings in several languages.
One benefit of WebDriver BiDi is that it's in process of becoming a W3C standard, which might lead to wider adoption eventually.
But today, I don't see a reason to use anything other than Playwright. Happy to read alternative opinions, though.