Chromedriver download manager and shortcuts for Selenium
Project description
Chromepilot. Chromedriver download manager and shortcuts for Selenium.
Description:
Download, unzip in memory and manages chromedrivers.
Easily integrates with Selenium webdriver.
Installation
> pip install chromepilot
CLI
usage: chromepilot [-h] ...
Chromedriver download manager and shorcuts for Selenium.
positional arguments:
search Searches for installs of Google Chrome locally.
check Checks the version of Google Chrome and chromedrivers.
upgrade Download newer versions of chromedriver online.
clean Searches for outdated chromedrivers locally.
options:
-h, --help show this help message and exit
In your runtime, try:
from chromepilot import short
driver = short.driver() # Easy access to pre-configured driver
Runtime
>>> # After install whith `> chromepilot upgrade`
>>> from chromepilot import short
>>> driver = short.driver()
>>> driver.get('some/url')
>>> entity = driver.find_element(short.By.TAG_NAME, 'tag')
TODO:
- parse user configs to create webdriver
- parse user configs to create shortcuts
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
chromepilot-0.0.1.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for chromepilot-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dd1dc78d866b005003e8d4dce9ea03d34a70c004f9382f8dcf330a1249d4a20 |
|
MD5 | 206be944dd600b9896d783ce7f62b4ee |
|
BLAKE2b-256 | 64b95ac3de6d0c2a9c80af34b583c258d4c10a5226eb68688f73d532b69333ee |