|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use PageObject | |
|---|---|
| net.thucydides.core.annotations.locators | |
| net.thucydides.core.pages | Classes designed to make it easier to work with Page Objects in WebDriver. |
| net.thucydides.core.webdriver | Manage WebDriver instances, and knowing what WebDriver types are supported. |
| Uses of PageObject in net.thucydides.core.annotations.locators |
|---|
| Fields in net.thucydides.core.annotations.locators declared as PageObject | |
|---|---|
protected PageObject |
SmartFieldDecorator.pageObject
|
| Methods in net.thucydides.core.annotations.locators with parameters of type PageObject | |
|---|---|
void |
SmartElementProxyCreator.proxyElements(PageObject pageObject,
org.openqa.selenium.WebDriver driver)
|
void |
SmartElementProxyCreator.proxyElements(PageObject pageObject,
org.openqa.selenium.WebDriver driver,
int timeoutInSeconds)
|
| Constructors in net.thucydides.core.annotations.locators with parameters of type PageObject | |
|---|---|
SmartFieldDecorator(org.openqa.selenium.support.pagefactory.ElementLocatorFactory factory,
org.openqa.selenium.WebDriver driver,
PageObject pageObject)
|
|
| Uses of PageObject in net.thucydides.core.pages |
|---|
| Subclasses of PageObject in net.thucydides.core.pages | |
|---|---|
class |
AnyPage
A page object that can represent any page, without specifiying the exact page. |
| Methods in net.thucydides.core.pages with type parameters of type PageObject | ||
|---|---|---|
|
Pages.currentPageAt(Class<T> pageObjectClass)
|
|
|
Pages.get(Class<T> pageObjectClass)
|
|
|
Pages.getAt(Class<T> pageObjectClass)
|
|
|
Pages.getPage(Class<T> pageObjectClass)
|
|
|
PageObject.switchToPage(Class<T> pageObjectClass)
|
|
| Methods in net.thucydides.core.pages that return PageObject | |
|---|---|
PageObject |
PageObject.waitFor(org.openqa.selenium.support.ui.ExpectedCondition expectedCondition)
|
PageObject |
PageObject.waitFor(String xpathOrCssSelector)
|
PageObject |
PageObject.waitForAbsenceOf(String xpathOrCssSelector)
|
PageObject |
PageObject.waitForAllTextToAppear(String... expectedTexts)
Waits for all of a number of text blocks to appear on the screen. |
PageObject |
PageObject.waitForAnyRenderedElementOf(org.openqa.selenium.By... expectedElements)
|
PageObject |
PageObject.waitForAnyTextToAppear(String... expectedText)
Waits for any of a number of text blocks to appear anywhere on the screen. |
PageObject |
PageObject.waitForAnyTextToAppear(org.openqa.selenium.WebElement element,
String... expectedText)
|
PageObject |
PageObject.waitForPresenceOf(String xpathOrCssSelector)
|
PageObject |
PageObject.waitForRenderedElements(org.openqa.selenium.By byElementCriteria)
|
PageObject |
PageObject.waitForRenderedElementsToBePresent(org.openqa.selenium.By byElementCriteria)
|
PageObject |
PageObject.waitForRenderedElementsToDisappear(org.openqa.selenium.By byElementCriteria)
|
PageObject |
PageObject.waitForTextToAppear(String expectedText)
Waits for a given text to appear anywhere on the page. |
PageObject |
PageObject.waitForTextToAppear(org.openqa.selenium.WebElement element,
String expectedText)
Waits for a given text to appear anywhere on the page. |
PageObject |
PageObject.waitForTextToDisappear(String expectedText)
|
PageObject |
PageObject.waitForTextToDisappear(String expectedText,
long timeout)
Waits for a given text to not be anywhere on the page. |
PageObject |
PageObject.waitForTextToDisappear(org.openqa.selenium.WebElement element,
String expectedText)
Waits for a given text to appear anywhere on the page. |
PageObject |
PageObject.waitForTitleToAppear(String expectedTitle)
|
PageObject |
PageObject.waitForTitleToDisappear(String expectedTitle)
|
| Method parameters in net.thucydides.core.pages with type arguments of type PageObject | |
|---|---|
boolean |
Pages.isCurrentPageAt(Class<? extends PageObject> pageObjectClass)
|
| Constructors in net.thucydides.core.pages with parameters of type PageObject | |
|---|---|
MatchingPageExpressions(PageObject pageObject)
|
|
| Constructor parameters in net.thucydides.core.pages with type arguments of type PageObject | |
|---|---|
PageObject(org.openqa.selenium.WebDriver driver,
com.google.common.base.Predicate<PageObject> callback)
|
|
| Uses of PageObject in net.thucydides.core.webdriver |
|---|
| Methods in net.thucydides.core.webdriver with parameters of type PageObject | |
|---|---|
boolean |
DefaultPageObjectInitialiser.apply(PageObject page)
|
void |
WebDriverFactory.initElementsWithAjaxSupport(PageObject pageObject,
org.openqa.selenium.WebDriver driver,
int timeoutInSeconds)
Initialize a page object's fields using the specified WebDriver instance. |
void |
ElementProxyCreator.proxyElements(PageObject pageObject,
org.openqa.selenium.WebDriver driver)
|
void |
ElementProxyCreator.proxyElements(PageObject pageObject,
org.openqa.selenium.WebDriver driver,
int timeoutInSeconds)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||