Run integration tests with WebDriver BiDi instead of CDP for Firefox.
This commit is contained in:
parent
15103600ea
commit
4db01746d8
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user