Improve the seleniumbase install DRIVER
command
- Detect the newest version of drivers based on specific browser versions
- Determine if a newer driver version is available during install
- Color-coded feedback to highlight download-related actions
Also:
- Detect if using an out-of-date ChromeDriver during hover actions
- Add a test to detect if using an out-of-date ChromeDriver or Chrome
And:
- Update Python dependencies
--rich==5.2.1
--attrs>=20.1.0
Usage Example for seleniumbase install chromedriver 84
:
$ seleniumbase install chromedriver 84
*** chromedriver version for download = 84.0.4147.30 (Latest)
Downloading chromedriver_mac64.zip from:
https://chromedriver.storage.googleapis.com/84.0.4147.30/chromedriver_mac64.zip ...
Download Complete!
Extracting ['chromedriver'] from chromedriver_mac64.zip ...
Unzip Complete!
The file [chromedriver] was saved to:
/Users/michael/github/SeleniumBase/seleniumbase/drivers/chromedriver
Making [chromedriver 84.0.4147.30] executable ...
[chromedriver] is now ready for use!
Usage example for seleniumbase install edgedriver
:
$ seleniumbase install edgedriver
*** edgedriver version for download = 84.0.522.61
Downloading edgedriver_mac64.zip from:
https://msedgedriver.azureedge.net/84.0.522.61/edgedriver_mac64.zip ...
Download Complete!
Extracting ['msedgedriver'] from edgedriver_mac64.zip ...
Unzip Complete!
The file [msedgedriver] was saved to:
/Users/michael/github/SeleniumBase/seleniumbase/drivers/msedgedriver
Making [msedgedriver 84.0.522.61] executable ...
[msedgedriver] is now ready for use!