Skip to content

Commit 4a2d36e

Browse files
committed
up
1 parent 81cad88 commit 4a2d36e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vitest.browser.config.mts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ function buildBrowserStackCapabilities(config: typeof browserConfig) {
224224
consoleLogs: 'verbose' as const,
225225
idleTimeout: 600, // 10 minutes idle timeout,
226226
},
227+
webSocketUrl: true,
227228
};
228229
}
229230

@@ -237,6 +238,7 @@ function buildBrowserInstances() {
237238
logLevel: 'error' as const,
238239
connectionRetryTimeout: 180000, // 3 minutes
239240
connectionRetryCount: 3,
241+
webSocketUrl: true, // Enable WebDriver Bidi
240242
}));
241243
} else {
242244
// BrowserStack remote configurations - all browsers
@@ -251,6 +253,7 @@ function buildBrowserInstances() {
251253
logLevel: 'error' as const,
252254
connectionRetryTimeout: 180000, // 3 minutes
253255
connectionRetryCount: 3,
256+
webSocketUrl: true, // Enable WebDriver Bidi
254257
}));
255258
}
256259
}

0 commit comments

Comments
 (0)