From 32770eb0fec18f853875622c193f7e36c4756ec9 Mon Sep 17 00:00:00 2001 From: Leon Date: Sun, 22 Dec 2019 14:35:12 +0100 Subject: [PATCH] Update __init__.py --- undetected_chromedriver/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/undetected_chromedriver/__init__.py b/undetected_chromedriver/__init__.py index ce55a74..715752a 100644 --- a/undetected_chromedriver/__init__.py +++ b/undetected_chromedriver/__init__.py @@ -39,7 +39,7 @@ class Chrome: if not ChromeDriverManager.selenium_patched: ChromeDriverManager(*args, **kwargs).patch_selenium_webdriver() instance = object.__new__(_Chrome) - instance.__init__(*args, **kwargs) + instance.__init__(options=ChromeOptions(), *args, **kwargs) instance.execute_cdp_cmd( "Page.addScriptToEvaluateOnNewDocument", {