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.9
Filename, size File type Python version Upload date Hashes
Filename, size umdriver-0.0.9.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page