Should you get excited about WebDriver BiDi?

Mustafa Mašetić
8 min readJun 10, 2023
W3C Logo

WebDriver BiDi is a proposed protocol that builds on and extends WebDriver. This article tries to explain the need for a new protocol and the testing challenges it aims to solve.

The working group behind this proposal includes participants from companies such as Google, Apple, Microsoft, Salesforce, the W3C organisation, and Mozilla Foundation. This ensures that all popular browser vendors are onboard and promises a bright future for the project.

Currently, the implementation status is not yet ready, and only minimal functionalities are available for testing. Nevertheless, the idea behind the new protocol is exciting and promises to improve automation tools in general.

What challenges is WebDriver BiDi trying to solve?

In an article on the Chrome Developers Blog, there is an overview of the evolution of test automation with the goal of examining the current state and starting point for WebDriver BiDi.

The journey before Selenium WebDriver became what we know it as today was a very long one. It started in the 90s, gained serious traction in the 2000s, and finally became a W3C standard in 2018. The technology behind WebDriver has also evolved over the years. In the beginning, Selenium was implemented not via APIs, but by injecting the script into the browser. Later on…

--

--

Mustafa Mašetić

Test automation engineer interested in Playwright, Robot Framework, Selenium and CI/CD.