Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

page object wrapper for selenium webdriver

Project Description

Wrapper for selenium webdriver to make page objects easy:

class SomePageBlock(PageElement):
    filed = PageElement("#filed_id", timeout=10)
    button = PageElement("//path/to/element")

    def do_some_work(self, keys):
        self.field.send_keys(keys)
        self.button.click()
        ...

class SomePageObject(PageElementsContainer):
    element = SomePageBlock(".block_class")

    def __init__(self, driver):
        self.driver = driver

page = SomePageObject(get_driver('firefox'))
assert page.element.button.is_displayed()
page.element.do_some_work("bla-bla")
  • lazy element loading by request
  • automated handling of StaleElementReferenceException
  • flexible timeouts
  • automated detecting of locator type
  • smart lists of elements, automated logs and much more here.
Release History

Release History

This version
History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pypo4sel.core-0.0.7.tar.gz (13.3 kB) Copy SHA256 Checksum SHA256 Source Dec 15, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting