Skip to main content

Update chrome driver

Project description

chromedriverupdate

Quick Start

import os
from chromedriverupdate.chrome_driver import ChromeDriverUpdate

CHROME_DRIVER_PATH = '...'

def _browser():
    return webdriver.Chrome(
        # Your settings
    )

try:
    browser = _browser()
except SessionNotCreatedException as e:
    ChromeDriverUpdate(e.msg, os.path.dirname(CHROME_DRIVER_PATH)).update()
    browser = _browser()

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

chromedriverupdate-1.0.0.tar.gz (14.8 kB view hashes)

Uploaded Source

Built Distribution

chromedriverupdate-1.0.0-py3-none-any.whl (15.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page