WebDriver BiDi - The future of cross-browser automation  |  Blog  |  Chrome for Developers

Time Saved: 4 Min

Getting to know what is WebDriver BiDi and why it is the future of cross-browser automation

WebDriver BiDi is a new browser automation protocol combining the strengths of WebDriver "Classic" and Chrome DevTools Protocol (CDP) through bi-directional communication and low-level control. The WebDriver BiDi Working Group collaborates to develop this W3C standard for efficient browser automation. Implementing the protocol involves creating specifications, verification through tests, and actual browser implementations. Challenges include balancing compatibility, usability, and performance, with strategies such as rapid prototyping, minimizing roundtrips, and leveraging Web Platform Tests. While CDP remains for debugging in Chromium-based browsers, WebDriver BiDi focuses on testing automation. The ongoing roadmap and community support invite early testers, social media sharing, feature requests, and participation in the RFC to shape the future of browser automation with WebDriver BiDi. Although Puppeteer currently uses CDP, WebDriver BiDi will not deprecate it but aims to make it a versatile cross-browser automation tool.