Skip to content

A PageObject Model designed to easily manage PageElements

License

Notifications You must be signed in to change notification settings

nickbeaird/pom-elements

Repository files navigation

Run Checks Code style: black CodeFactor

pom-elements

The Python package pom-elements for a Page Object Model that extends to Page Elements.

Github

Documentation

Installation

$ pip install pom-elements

Usage

Organize your ui-tests in Classes that represent you page designs. Also organize all of the selectors for your tests with Page Elements.

Features

  • Organize your tests to reflect how your web page is desinged (Page Objects).
  • Augment your current tests by using through the organization of Pages, PageObjects, or individual Elements.
  • Allows test writers to bring their favorite locator of choice (MultiElement).
  • Use any number of nested PageObjects without needing to manually hand off a webdriver to each instance.
  • Improve the experience of debugging through geting the Element on every call (Descriptor Protocol).

Webdrivers

This project currently supports the Python Selenium webdriver. The project has been tested with Pytest and Unittest class designs. Please feel free to add any additional framework support. You may need the following to get started with this project.

About

A PageObject Model designed to easily manage PageElements

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published