From 4db01746d8e7dc2c5aa86d584db285b4f28e1c50 Mon Sep 17 00:00:00 2001 From: Henrik Skupin Date: Wed, 25 Oct 2023 10:37:43 +0200 Subject: [PATCH] Run integration tests with WebDriver BiDi instead of CDP for Firefox. --- test/test.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test.mjs b/test/test.mjs index f706c81c8..d144432cc 100644 --- a/test/test.mjs +++ b/test/test.mjs @@ -937,6 +937,10 @@ async function startBrowser({ browserName, headless, startUrl }) { } if (browserName === "firefox") { + // Run tests with the WebDriver BiDi protocol enabled only for Firefox for + // now given that for Chrome further fixes are needed first. + options.protocol = "webDriverBiDi"; + options.extraPrefsFirefox = { // avoid to have a prompt when leaving a page with a form "dom.disable_beforeunload": true,