![]() from selenium_driver_updater import DriverUpdater from selenium import webdriver import os base_dir = os. Or you can use library to download and update chromedriver and geckodriver binaries at the same time. chromedriver, upgrade = True, check_driver_is_up_to_date = True, old_return = False ) driver = webdriver. install ( path = base_dir, driver_name = DriverUpdater. abspath ( _file_ )) filename = DriverUpdater. This example shows how you can use this library to download chromedriver binary and use it immediately. Use the package manager pip to install selenium_driver_updater. ![]() It is a fast and convenience package that can automatically download or update Selenium webdriver binaries and their browsers for different OS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |