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

This version
History Node

1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pylenium-1.0-py2.py3-none-any.whl (8.3 kB) Copy SHA256 hash SHA256 Wheel py2.py3
pylenium-1.0.tar.gz (7.0 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page