Uses of Class
net.serenitybdd.core.pages.PageObject
Packages that use PageObject
Package
Description
Classes designed to make it easier to work with Page Objects in WebDriver.
Base class to be used when writing a library of resuable test steps.
Manage WebDriver instances, and knowing what WebDriver types are supported.
-
Uses of PageObject in net.serenitybdd.core.pages
Subclasses of PageObject in net.serenitybdd.core.pagesModifier and TypeClassDescriptionclassA page object that can represent any page, without specifiying the exact page.Methods in net.serenitybdd.core.pages with type parameters of type PageObjectModifier and TypeMethodDescription<T extends PageObject>
T<T extends PageObject>
TPageObject.setDriver(org.openqa.selenium.WebDriver driver) <T extends PageObject>
TPageObject.switchToPage(Class<T> pageObjectClass) Deprecated.<T extends PageObject>
TPageObject.withDriver(org.openqa.selenium.WebDriver driver) Methods in net.serenitybdd.core.pages that return PageObjectModifier and TypeMethodDescriptionWidgetObject.getPage()Get the page containing this widget.WidgetObjectImpl.getPage()PageObject.waitForAbsenceOf(String xpathOrCssSelector, Object... arguments) PageObject.waitForAbsenceOf(org.openqa.selenium.By byLocator) PageObject.waitForAllTextToAppear(String... expectedTexts) Waits for all of a number of text blocks to appear on the screen.PageObject.waitForAnyRenderedElementOf(org.openqa.selenium.By... expectedElements) PageObject.waitForAnyTextToAppear(String... expectedText) Waits for any of a number of text blocks to appear anywhere on the screen.PageObject.waitForAnyTextToAppear(org.openqa.selenium.WebElement element, String... expectedText) PageObject.waitForPresenceOf(String xpathOrCssSelector, Object... arguments) PageObject.waitForRenderedElements(org.openqa.selenium.By byElementCriteria) PageObject.waitForRenderedElementsToBePresent(org.openqa.selenium.By byElementCriteria) PageObject.waitForRenderedElementsToDisappear(org.openqa.selenium.By byElementCriteria) PageObject.waitForTextToAppear(String expectedText) Waits for a given text to appear anywhere on the page.PageObject.waitForTextToAppear(String expectedText, long timeout) Waits for a given text to appear anywhere on the page.PageObject.waitForTextToAppear(org.openqa.selenium.WebElement element, String expectedText) Waits for a given text to appear inside the element.PageObject.waitForTextToDisappear(String expectedText) PageObject.waitForTextToDisappear(String expectedText, long timeoutInMilliseconds) Waits for a given text to not be anywhere on the page.PageObject.waitForTextToDisappear(org.openqa.selenium.WebElement element, String expectedText) Waits for a given text to disappear from the element.PageObject.waitForTitleToAppear(String expectedTitle) PageObject.waitForTitleToDisappear(String expectedTitle) Methods in net.serenitybdd.core.pages that return types with arguments of type PageObjectModifier and TypeMethodDescriptionstatic Function<PageObject,List<WebElementFacade>> RenderedPageObjectView.containingTextAndMatchingCSS(String cssOrXPathLocator, String expectedText) static Function<PageObject,List<WebElementFacade>> RenderedPageObjectView.containingTextAndMatchingCSS(List<String> cssOrXPathLocators, String expectedText) WaitForBuilder<? extends PageObject>PageObject.waitFor(int duration) Constructors in net.serenitybdd.core.pages with parameters of type PageObjectModifierConstructorDescriptionMatchingPageExpressions(PageObject pageObject) OpenWithParams(PageObject pageObject, String urlTemplateName) RenderedPageObjectView(org.openqa.selenium.WebDriver driver, PageObject pageObject, long waitForTimeoutInMilliseconds) RenderedPageObjectView(org.openqa.selenium.WebDriver driver, PageObject pageObject, Duration waitForTimeout, boolean timeoutCanBeOverriden) WaitingBuilder(int timeout, PageObject page) WebElementFacadeWait(PageObject page, long timeoutInSeconds) protectedWebElementFacadeWait(PageObject page, long timeoutInSeconds, long sleepInMillis) WidgetObjectImpl(PageObject page, org.openqa.selenium.support.pagefactory.ElementLocator locator, long timeoutInMilliseconds) WidgetObjectImpl(PageObject page, org.openqa.selenium.support.pagefactory.ElementLocator locator, org.openqa.selenium.WebElement webElement, long timeoutInMilliseconds) Constructor parameters in net.serenitybdd.core.pages with type arguments of type PageObjectModifierConstructorDescriptionprotectedPageObject(org.openqa.selenium.WebDriver driver, com.google.common.base.Predicate<? super PageObject> callback) -
Uses of PageObject in net.serenitybdd.core.steps
Subclasses of PageObject in net.serenitybdd.core.stepsModifier and TypeClassDescriptionclassAn action class designed to interact an application via the UIclassAn action class designed to query an application via the UI -
Uses of PageObject in net.thucydides.core.annotations.locators
Fields in net.thucydides.core.annotations.locators declared as PageObjectModifier and TypeFieldDescriptionprotected final PageObjectAbstractListItemHandler.pageprotected final PageObjectAbstractSingleItemHandler.pageprotected PageObjectSmartFieldDecorator.pageMethods in net.thucydides.core.annotations.locators with parameters of type PageObjectModifier and TypeMethodDescriptionvoidSmartElementProxyCreator.proxyElements(PageObject pageObject, org.openqa.selenium.WebDriver driver) voidSmartElementProxyCreator.proxyElements(PageObject pageObject, org.openqa.selenium.WebDriver driver, int timeoutInSeconds) Constructors in net.thucydides.core.annotations.locators with parameters of type PageObjectModifierConstructorDescriptionAbstractListItemHandler(Class<T> targetInterface, Class<?> interfaceType, org.openqa.selenium.support.pagefactory.ElementLocator locator, org.openqa.selenium.WebElement element, PageObject page, long implicitTimeoutInMilliseconds, long waitForTimeoutInMilliseconds) Constructor.AbstractSingleItemHandler(Class<T> targetInterface, Class<?> interfaceType, org.openqa.selenium.support.pagefactory.ElementLocator locator, PageObject page) SmartElementHandler(Class<?> interfaceType, org.openqa.selenium.support.pagefactory.ElementLocator locator, PageObject page) SmartFieldDecorator(org.openqa.selenium.support.pagefactory.ElementLocatorFactory factory, org.openqa.selenium.WebDriver driver, PageObject pageObject) SmartFieldDecorator(org.openqa.selenium.support.pagefactory.ElementLocatorFactory factory, org.openqa.selenium.WebDriver driver, PageObject pageObject, CustomFindByAnnotationProviderService customFindByAnnotationProviderService) SmartListHandler(ClassLoader loader, Class<?> interfaceType, org.openqa.selenium.support.pagefactory.ElementLocator locator, PageObject page, long implicitTimeoutInMilliseconds, long waitForTimeoutInMilliseconds) SmartWidgetHandler(Class<?> interfaceType, org.openqa.selenium.support.pagefactory.ElementLocator locator, PageObject page) WebElementFacadeListItemHandler(Class<?> interfaceType, org.openqa.selenium.support.pagefactory.ElementLocator locator, org.openqa.selenium.WebElement element, PageObject page, long implicitTimeoutInMilliseconds, long waitForTimeoutInMilliseconds) WidgetListItemHandler(Class<?> interfaceType, org.openqa.selenium.support.pagefactory.ElementLocator locator, org.openqa.selenium.WebElement element, PageObject page, long implicitTimeoutInMilliseconds, long waitForTimeoutInMilliseconds) -
Uses of PageObject in net.thucydides.core.pages
Subclasses of PageObject in net.thucydides.core.pagesModifier and TypeClassDescriptionclassA base class representing a WebDriver page object.Methods in net.thucydides.core.pages with type parameters of type PageObjectModifier and TypeMethodDescription<T extends PageObject>
TPageFactory.createPageOfType(Class<T> pageObjectClass) Create a new Page Object of the given type.<T extends PageObject>
TPages.currentPageAt(Class<T> pageObjectClass) <T extends PageObject>
T<T extends PageObject>
T<T extends PageObject>
Tstatic <T extends PageObject>
TPages.instrumentedPageObjectUsing(Class<T> pageObjectClass, org.openqa.selenium.WebDriver driver) Method parameters in net.thucydides.core.pages with type arguments of type PageObjectModifier and TypeMethodDescriptionbooleanPages.isCurrentPageAt(Class<? extends PageObject> pageObjectClass) Constructor parameters in net.thucydides.core.pages with type arguments of type PageObjectModifierConstructorDescriptionprotectedPageObject(org.openqa.selenium.WebDriver driver, com.google.common.base.Predicate<? super PageObject> callback) -
Uses of PageObject in net.thucydides.core.steps
Classes in net.thucydides.core.steps with type parameters of type PageObject -
Uses of PageObject in net.thucydides.core.webdriver
Methods in net.thucydides.core.webdriver with parameters of type PageObjectModifier and TypeMethodDescriptionbooleanDefaultPageObjectInitialiser.apply(PageObject page) voidElementProxyCreator.proxyElements(PageObject pageObject, org.openqa.selenium.WebDriver driver) voidElementProxyCreator.proxyElements(PageObject pageObject, org.openqa.selenium.WebDriver driver, int timeoutInSeconds)