Skip to main content

pypo4sel.core

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.

Metadata

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)

Source distribution for pypo4sel.core 0.0.2
File Size Uploaded Provenance Actions
pypo4sel.core-0.0.2.tar.gz 9.5 kB Without provenance Details for pypo4sel.core-0.0.2.tar.gz

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

Security for pypo4sel.core 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page