Skip to content

Commit

Permalink
Merge pull request #18316 from timvandermeij/integration-test-addons-xpi
Browse files Browse the repository at this point in the history
Disable system addon updates for Firefox in testing mode
  • Loading branch information
timvandermeij committed Jun 23, 2024
2 parents c18a987 + 327738d commit 7057142
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,8 @@ async function startBrowser({
options.protocol = "webDriverBiDi";

options.extraPrefsFirefox = {
// Disable system addon updates.
"extensions.systemAddon.update.enabled": false,
// avoid to have a prompt when leaving a page with a form
"dom.disable_beforeunload": true,
// Disable dialog when saving a pdf
Expand Down

0 comments on commit 7057142

Please sign in to comment.