The Python package pom-elements
for a Page Object Model that extends to Page Elements.
$ pip install pom-elements
Organize your ui-tests in Classes that represent you page designs. Also organize all of the selectors for your tests with Page Elements.
- 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).
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.