Skip to main content

Tools to make certain selenium tasks more straightforward.

Project description

selenium_helpers

PyPI Latest Release License Code style: black

What is it?

Helpful utilities and wrappers for Selenium work.

There are two key utilities in here -

Click

Used to resolve issues caused while clicking an element. Very often, elements are overlayed in such a way that a click isn't as simple as it should be.

This addresses that; simple call it with -

click(driver, element)

Wait Until

Allows you to wait until some condition is met.

The following conditions are supported -

  1. Title Is
  2. Title Contains
  3. URL Matches
  4. URL Is
  5. URL Contains
  6. You Find
  7. You Find All
  8. You Find Text
  9. You Find Button Text
  10. You Find All Text
  11. You Find Placeholder
  12. You Don't Find
wait_until(driver, 'title is', 'Google')

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

selenium-helpers-1.0.5.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

selenium_helpers-1.0.5-py3-none-any.whl (3.8 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