From 3293fb347f12659c213f0f7e42ff5251ad8716e3 Mon Sep 17 00:00:00 2001 From: Leon Date: Tue, 12 May 2020 19:56:49 +0200 Subject: [PATCH] Update __init__.py --- undetected_chromedriver/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/undetected_chromedriver/__init__.py b/undetected_chromedriver/__init__.py index caa8fe8..a2c4c26 100644 --- a/undetected_chromedriver/__init__.py +++ b/undetected_chromedriver/__init__.py @@ -76,7 +76,7 @@ class Chrome: "platform": "Windows", }, ) - logger.warning(f"starting webdriver instance Chrome({args}, {kwargs})") + logger.info(f"starting undetected_chromedriver.Chrome({args}, {kwargs})") return instance @@ -92,7 +92,7 @@ class ChromeOptions: instance.add_argument("start-maximized") instance.add_experimental_option("excludeSwitches", ["enable-automation"]) instance.add_experimental_option("useAutomationExtension", False) - logger.debug(f"starting options instance ChromeOptions({args}, {kwargs})") + logger.info(f"starting undetected_chromedriver.ChromeOptions({args}, {kwargs})") return instance @@ -132,7 +132,7 @@ class ChromeDriverManager(object): selenium.webdriver.Chrome = Chrome selenium.webdriver.ChromeOptions = ChromeOptions logger.warning( - "Now it is safe to import Chrome and ChromeOptions from selenium" + "Selenium patched. Safe to import Chrome / ChromeOptions" ) self_.__class__.selenium_patched = True