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

1.0

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 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 NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page