Skip to main content

A wrapper around Selenium with a more pythonic interface

Project description

This is a wrapper around the Selenium Webdriver Python API, which provides a more Pythonic interface. The main differences are in the element selectors and the condition API. Pylenium allows you to do driver.find_element(css='body') instead of driver.find_element(By.CSS_SELECTOR, 'body').

Other differences:

  • There is a link_text selector. The conditions and WebElements have also been wrapped to support the new selectors.

  • There are a number of new conditions available such as any and not_or_gone that can be composed with other conditions.

  • It is possible to use normal python callables as conditions.

Project details

Release history Release notifications | RSS feed

This version


Download files

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

Source Distribution

pylenium-1.0.tar.gz (7.0 kB view hashes)

Uploaded source

Built Distribution

pylenium-1.0-py2.py3-none-any.whl (8.3 kB view hashes)

Uploaded py2 py3

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