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.

Files for pylenium, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size pylenium-1.0-py2.py3-none-any.whl (8.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pylenium-1.0.tar.gz (7.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page