webdriver_test_tools.pageobject.base module¶
-
class
webdriver_test_tools.pageobject.base.
BasePage
(driver)[source]¶ Bases:
object
Base class for page objects
-
class
Locator
[source]¶ Bases:
object
WebDriver locator tuples for any elements that will need to be accessed by this page object.
- Example
SOME_ELEMENT = (By.ID, 'some-element')
This nested class is not technically required, but for consistency it’s recommended to use this convention for storing locators relevant to a page object
-
class