A tool for updating the webdriver automatically
Project description
webdriver-update-tool
Tools for updating the webdriver automatically.
Table of contents
Requirements
- macOS
- Python 3
- Google Chrome
- Selenium 3.141.0
Installation
Use pip to install the webdriver-update-tool package like this:
$ pip install webdriver-update-tool
Usage
from webdriver_update_tool import update_chromedriver4mac as ucd4mac
MAC_LOCAL_CHROME_PATH = r"/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome"
PATH_TO_EXTRACT_DRIVER_ZIP = "driver"
CHROME_DRIVER_PATH = os.path.join(PATH_TO_EXTRACT_DRIVER_ZIP, "chromedriver")
ucd4mac.check_driver(MAC_LOCAL_CHROME_PATH, PATH_TO_EXTRACT_DRIVER_ZIP, CHROME_DRIVER_PATH)
Run test and demo in this project
Set up config.ini
Replace the value of mac_local_chrome_path
in config.ini
with your local Google Chrome path.
Run test
$ python3 -m unittest -v tests.test_update_chromedriver4mac
Run demo
$ python3 -m webdriver_update_tool.update_chromedriver4mac
License
MIT License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for webdriver-update-tool-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ec169e86a79bcfcc9c13935550e7b01f87513a262cc09eea26b40ef82d906d1 |
|
MD5 | 479367de55106248525d60671b6946f3 |
|
BLAKE2b-256 | 37884593094bd6e7a314135e314a412608503c54f78f227168fedb8ffb0ba0cf |
Close
Hashes for webdriver_update_tool-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2bb26c3e53379a819cbf8cd32c120fafaf3907a70c132ba52be288c2fc112a2 |
|
MD5 | c99a1da76d9cdb8f2bc07d989de8cbf9 |
|
BLAKE2b-256 | 2e6de51e9abdb613e81e7f8081262c53910de4baef19760b5e77f3f99e7e9e9c |