Skip to content

Commit 83ac481

Browse files
committed
ENH: Add chrome launch options.
1 parent b849815 commit 83ac481

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

botcity/web/chrome.py

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,20 @@
2222

2323
class ChromeLauncher:
2424
DEFAULT_OPTIONS = {
25-
"--remote-debugging-port": "0"
25+
"--remote-debugging-port": "0",
26+
"--no-first-run": "",
27+
"--no-default-browser-check": "",
28+
"--disable-background-networking": "",
29+
"--disable-background-timer-throttling": "",
30+
"--disable-client-side-phishing-detection": "",
31+
"--disable-default-apps": "",
32+
"--disable-extensions": "",
33+
"--disable-hang-monitor": "",
34+
"--disable-popup-blocking": "",
35+
"--disable-prompt-on-repost": "",
36+
"--disable-syncdisable-translate": "",
37+
"--metrics-recording-only": "",
38+
"--safebrowsing-disable-auto-update": ""
2639
}
2740

2841
DEFAULT_OPTIONS_HEADLESS = {

0 commit comments

Comments
 (0)