seleniumbase / SeleniumBase

📊 Python's all-in-one framework for web crawling, scraping, testing, and reporting. Supports pytest. UC Mode provides stealth. Includes many tools.
https://seleniumbase.io
MIT License
5.34k stars 980 forks source link

Add a command-line option to set the major driver version used #1984

Closed mdmintz closed 1 year ago

mdmintz commented 1 year ago

Add a command-line option to set the major driver version used

--driver-version=VER (Chromium-only)

Eg:

--driver-version=114

Otherwise, by default, SeleniumBase will use a driver that matches the version of the browser. (Although until https://github.com/seleniumbase/SeleniumBase/issues/1983 is resolved, only chromedriver versions up to 114 will be downloaded.)

This option is important because in case there's ever another situation where there's a bad chromedriver released, (but you can't downgrade your browser), then this option will let you use an older driver version with a newer browser. SeleniumBase has been specially configured to allow non-matching pairings.

mdmintz commented 1 year ago

This was resolved in 4.17.1 - https://github.com/seleniumbase/SeleniumBase/releases/tag/v4.17.1