mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Run integration tests with WebDriver BiDi instead of CDP for Firefox.
This commit is contained in:
parent
15103600ea
commit
4db01746d8
1 changed files with 4 additions and 0 deletions
|
@ -937,6 +937,10 @@ async function startBrowser({ browserName, headless, startUrl }) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (browserName === "firefox") {
|
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 = {
|
options.extraPrefsFirefox = {
|
||||||
// avoid to have a prompt when leaving a page with a form
|
// avoid to have a prompt when leaving a page with a form
|
||||||
"dom.disable_beforeunload": true,
|
"dom.disable_beforeunload": true,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue