From fad2b621c917c092d9961b686ae8b2297accde8a Mon Sep 17 00:00:00 2001 From: Leon Date: Fri, 2 Jun 2023 22:26:00 +0200 Subject: [PATCH] Update example.py --- example/example.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/example/example.py b/example/example.py index 622975a..48fde5e 100644 --- a/example/example.py +++ b/example/example.py @@ -1,10 +1,13 @@ import time +import logging +logging.basicConfig(level=10) from selenium.common.exceptions import WebDriverException from selenium.webdriver.remote.webdriver import By import selenium.webdriver.support.expected_conditions as EC # noqa from selenium.webdriver.support.wait import WebDriverWait + import undetected_chromedriver as uc @@ -164,7 +167,8 @@ def main(args=None): print("lets go to UC project page") driver.get("https://www.github.com/ultrafunkamsterdam/undetected-chromedriver") - input("press a key if you have RTFM") + + sleep(2) driver.quit()