File tree Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,11 @@ Glossary
3737Releases
3838---------------------
3939
40+ v3.0.0
41+ ====================
42+ - Downgraded Selenium version from 4.13 to 4.12 since 4.13 does not support headless, which
43+ undetected-chrome-driver is trying to set.
44+
4045v3.0.0
4146====================
4247- SQL analytics:
Original file line number Diff line number Diff line change 1- selenium==4.13 .0
1+ selenium==4.12 .0
22undetected-chromedriver==3.5.3
33webdriver-manager==4.0.1
Original file line number Diff line number Diff line change 1717from .remote import *
1818
1919
20- VERSION = "3.0.0 "
20+ VERSION = "3.0.1 "
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ class GLOBALS:
3030# ----------------- OPTIONAL ----------------- #
3131try :
3232 from webdriver_manager .chrome import ChromeDriverManager
33- from undetected_chromedriver import Chrome
33+ from undetected_chromedriver import Chrome , ChromeOptions
3434 from selenium .webdriver .chrome .options import Options
3535 from selenium .webdriver .remote .webelement import WebElement
3636 from selenium .webdriver .common .by import By
@@ -156,7 +156,7 @@ async def initialize(self) -> None:
156156 WD_OUTPUT_PATH .mkdir (exist_ok = True , parents = True )
157157 web_data_path = pathlib .Path (WD_PROFILES_PATH , self ._username )
158158
159- opts = Options ()
159+ opts = ChromeOptions ()
160160 opts .add_argument (f"--user-data-dir={ web_data_path .absolute ()} " )
161161 opts .add_argument ("--profile-directory=Profile 1" )
162162 opts .add_argument ("--no-sandbox" )
You can’t perform that action at this time.
0 commit comments