Skip to content

Commit

Permalink
Run integration tests with WebDriver BiDi instead of CDP for Firefox.
Browse files Browse the repository at this point in the history
  • Loading branch information
whimboo committed Dec 8, 2023
1 parent 1510360 commit 4db0174
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4db0174

Please sign in to comment.