Browser automation/testing with BiDi and minimal dependencies
summary
Demonstrates that WebDriver BiDi is a W3C draft streaming JSON protocol already implemented in Firefox and Chromium and usable with only the installed browser plus websocat or python-aiohttp no npm or Selenium required. Shows a 600‑byte counter page, gets the browser WebSocket URL, subscribes to log events, navigates, locates a button with a CSS selector, performs pointer move/down/up to click, and uses script evaluate to read the span. Supplies toy shell scripts and a ~500‑line Python library used in Cockpit and the demo works on both Chromium and Firefox.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:23WebDriver limits
- 3:10BiDi as WebDriver extension
- 4:13Setting up the WebSocket connection
- 5:37Browser event subscriptions
- 6:59Shell script automation
- 8:45Page navigation and interaction
- 10:29Test validation with JS
- 11:11Cross-browser with Firefox
- 11:53Python automation library
- 13:25Q&A
related talks
31mRevolutionising Browser Automation: A Deep Dive into the WebDriver BiDi Project and its Integration with Selenium
31mRevolutionising Browser Automation: A Deep Dive into the WebDriver BiDi Project and...
24mWebDriver BiDi: work in progress.
33mBeyond WebDriver!
26mHow browser automation works behind the scenes
01h 26mWorkshop: Reactive Browser Testing with WebDriver BiDi
11mThe Future of Cross-Browser Automation: WebDriver BiDi
42mAdvancing WebDriver BiDi support in WebKit
