Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(e2e): use classic webdriver for webkit

Steven Enamakel084dfeb26dc1
diff --git a/app/test/wdio.conf.ts b/app/test/wdio.conf.ts
index 98b65508ab..922571c5fc 100644
--- a/app/test/wdio.conf.ts
+++ b/app/test/wdio.conf.ts
@@ -98,6 +98,11 @@ export const config: Options.Testrunner & Record<string, unknown> = {
capabilities: [
{
'tauri:options': { application: linuxAppPath() },
+ // WebKitGTK shipped by Ubuntu 22.04 does not support WebDriver BiDi.
+ // WDIO 9 negotiates it by default; tauri-driver forwards that capability
+ // to WebKitWebDriver, which never completes session creation. Keep this
+ // native driver on the classic WebDriver protocol.
+ 'wdio:enforceWebDriverClassic': true,
// WDIO's per-capability ceiling is required by the Tauri driver.
// Without it, the runner can schedule one WebKit session per spec
// despite the global maxInstances: 1, causing simultaneous app