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 details)

Uploaded Source

File details

Details for the file umdriver-0.0.9.tar.gz.

File metadata

  • Download URL: umdriver-0.0.9.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0

File hashes

Hashes for umdriver-0.0.9.tar.gz
Algorithm Hash digest
SHA256 f6a72418abd9dd52f709e55cf1d90fbf5bc68dd6151e59a93a59ad9e61f82c1f
MD5 4ce00205da066e60a1be548d9a0f8802
BLAKE2b-256 5bd9aa5b5437bc5c2a89388b04195fe62cbcaf408e6b9da87cf2c4f892205764

See more details on using hashes here.

Supported by

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