SeleniumBase/seleniumbase/drivers
Michael Mintz 2516a8309b Refactoring 2023-02-03 01:10:36 -05:00
..
ReadMe.md Refactoring 2023-02-03 01:10:36 -05:00
__init__.py Refactoring 2023-02-03 01:10:36 -05:00

ReadMe.md

SeleniumBase webdriver storage

To run web automation, you'll need webdrivers for each browser you plan on using. With SeleniumBase, drivers are downloaded automatically as needed into the SeleniumBase drivers folder.

You can also download drivers manually with these commands:

seleniumbase get chromedriver
seleniumbase get geckodriver
seleniumbase get edgedriver

After running the commands above, web drivers will get downloaded into the seleniumbase/drivers/ folder. SeleniumBase uses those drivers during tests. (The drivers don't come with SeleniumBase by default.)

If the necessary driver is not found in this location while running tests, SeleniumBase will instead look for the driver on the System PATH. If the necessary driver is not on the System PATH either, SeleniumBase will automatically attempt to download the required driver.

  • You can also download specific versions of drivers. Examples:
sbase get chromedriver 107
sbase get chromedriver 107.0.5304.62
sbase get chromedriver latest
sbase get chromedriver latest-1
sbase get edgedriver 106.0.1370.42

(NOTE: sbase is a shortcut for seleniumbase)