Skip to content

Commit

Permalink
Show trace log output for investigation
Browse files Browse the repository at this point in the history
  • Loading branch information
whimboo committed Oct 25, 2023
1 parent 70d72cc commit 1e2b530
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test.mjs
Expand Up @@ -905,6 +905,7 @@ async function startBrowser(browserName, startUrl = "") {
const options = {
product: browserName,
protocol: "webDriverBiDi",
dumpio: true,
headless: false,
defaultViewport: null,
ignoreDefaultArgs: ["--disable-extensions"],
Expand Down Expand Up @@ -932,6 +933,7 @@ async function startBrowser(browserName, startUrl = "") {

if (browserName === "firefox") {
options.extraPrefsFirefox = {
"remote.log.level": "trace",
// 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 1e2b530

Please sign in to comment.