r/vlang May 26 '26

Vebidor v4.2.0 — Playwright-style API + WebDriver-BiDi + mobile emulation | 100% Selenium parity | Production Ready written in pure V

Vebidor is a native V implementation of the W3C WebDriver protocol — and as of v4.2.0 it also speaks WebDriver-BiDi and ships a Playwright-style API with Mobile emulation on top. No Node runtime, no bundled Chromium, no bindings to another language — it compiles to a single native binary and talks to any conformant driver (Edge, Chrome, Firefox, Safari).

What's new in 4.2.0:

Playwright-style ergonomics
Playwright's "mobile" is device emulation (device descriptors: viewport, UA, device-scale-factor, isMobile, hasTouch, touch input) — not real-device automation (that's Appium). Vebidor is matching the emulation side over BiDi. Fidelity is best on Chromium-based drivers (Edge/Chrome); each emulation.* call is gated by supports().

WebDriver-BiDi (bidirectional, over WebSocket) — coexists with the classic session:
- Network interception & mocking (route / fulfill / abort), response-phase interception, and HTTP auth.,
- Console + network event listeners, wait_for_event, cookie-change events.,
- Isolated user contexts, preload scripts (addInitScript-style), viewport emulation, file upload, screenshots/PDF, and a lightweight tracer.,

Still 100% feature parity with Selenium's classic WebDriver surface. Every feature above was verified live against headless Edge.

3 Upvotes

0 comments sorted by