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 files for pypo4sel.core 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pypo4sel.core-0.0.2.tar.gz | 9.5 kB | Details |
Release files / pypo4sel.core-0.0.2.tar.gz
| Download URL | pypo4sel.core-0.0.2.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8614f760030e462441f4218c01a78926228b6bad09a4074a316a31c31ca47a75
|
|
BLAKE2b-256 checksum How to use checksums |
87d18e504ea92fe42700f118ed30cfc85369f7d0c33f57df30099ca386b8f039
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |