v.2.0.0b14 Incompatibility with webdriver-manager latest versions
dimaklepikov opened this issue · comments
There is an issue occurs with latest WDM available. Maybe, there is a way to migrate automatically to the latest one?
ERROR: Cannot install selene==2.0.0b14 and webdriver-manager==4.0.1 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested webdriver-manager==4.0.1
selene 2.0.0b14 depends on webdriver-manager==3.8.3
The browser
object cant be used for Chrome > 115v and the following code causes ValueError
def browser_setup(debug=False):
options = webdriver.ChromeOptions()
if debug == "False":
options.add_argument("--headless")
options.add_argument("--no-sandbox")
options.add_argument("--disable-gpu")
options.add_argument("--window-size=1920x1080")
options.add_argument("--disable-dev-shm-usage")
options.add_argument("--disable-notifications")
options.add_argument("--lang=en-US")
prefs = {"download.default_directory": f"{base_dir}/downloads"}
options.add_experimental_option("prefs", prefs)
browser.config.driver_options = options
browser.config.timeout = 15
return browser
.......
ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/117.0.5938/chromedriver_mac64.zip```
Or, is there a way to use latest Chrome and current stable Selene version?
Try upgrading Selene to latest version... 2
0.0b14 is not latest... check releases in this GitHub repo for more
details...
…On Sun, Oct 15, 2023, 2:30 AM Dmitriy Klepikov ***@***.***> wrote:
There is an issue occurs with latest WDM available. Maybe, there is a way
to migrate automatically to the latest one?
ERROR: Cannot install selene==2.0.0b14 and webdriver-manager==4.0.1 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested webdriver-manager==4.0.1
selene 2.0.0b14 depends on webdriver-manager==3.8.3
—
Reply to this email directly, view it on GitHub
<#498>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAO6ZHUYRBQ5QTUDGM6BLU3X7MOBHAVCNFSM6AAAAAA6ASEQYOVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE2DGNRQGM2TANI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
Thanks, the upgrade resolved this