Skip to main content

An extension of the selenium webdriver bindings for python with U-M weblogin baked in.

Project description

UM Driver

An extension of the selenium webdriver bindings for python with U-M weblogin baked in.

Usage

Use UMDriver as you would a normal Selenium webdriver. UMDriver provides the login method to help facilitate logging into authenticated resources. If you have two-factor authentication enabled, the login method will wait for you to authorize the login before proceeding to the next lines of code.

with UMDriver() as driver:
    driver.login(username='uniqname', password='secret')
    driver.get('https://url.for.protected.resource')

If you are logging into any test environments and need to authenticate with the test identity provider, you can add an optional env parameter to your login call:

driver.login(username, password, env='test')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for umdriver, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size umdriver-0.0.5.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page