Skip to content
Snippets Groups Projects
Unverified Commit c49f768b authored by Bjoern Esswein's avatar Bjoern Esswein
Browse files

add chrome args to disable hopefully all first launch popups that would block the headless mode

parent 7d637328
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,17 @@ namespace bessw.Unity.WebView.ChromeDevTools
$"--remote-allow-origins=http://localhost:{debugPort}",
"--hide-crash-restore-bubble",
"--disable-first-run-ui",
"--no-first-run"
"--no-first-run",
"--disable-search-engine-choice-screen",
"--disable-features=PrivacySandboxSettings4",
"--no-default-browser-check",
// additional flags (don't know if they are necessary)
"--disable-extensions",
"--ash-no-nudges",
"--disable-external-intent-requests",
"--disable-background-timer-throttling",
"--disable-backgrounding-occluded-windows",
"--enable-automation"
});
// set headlessBrowser to false to see the browser window
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment