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.

Source Distribution

umdriver-0.0.9.tar.gz (3.7 kB view hashes)

Uploaded Source

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