Skip to content

Commit 32c6b1e

Browse files
authored
Merge pull request #37 from hhslepicka/chrome-whats-new
FIX: Make sure Chrome doesnt show What's New page.
2 parents 2777074 + 623755f commit 32c6b1e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

botcity/web/browsers/chrome.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ def default_options(headless=False, download_folder_path=None, user_data_dir=Non
3939
chrome_options.add_argument("--metrics-recording-only")
4040
chrome_options.add_argument("--safebrowsing-disable-auto-update")
4141

42+
# Disable What's New banner for new chrome installs
43+
chrome_options.add_argument("--disable-features=ChromeWhatsNewUI")
44+
4245
chrome_options.add_argument("--disable-blink-features=AutomationControlled")
4346

4447
# Disable banner for Browser being remote-controlled

0 commit comments

Comments
 (0)