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 7, 2023
1 parent d564532 commit a24c5b3
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 @@ -936,6 +936,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 Chrome needs further fixes before it can be turned on.
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 a24c5b3

Please sign in to comment.