Class MobilePageObject
- java.lang.Object
-
- com.atlassian.mywork.pageobjects.AbstractPageObject
-
- com.atlassian.mywork.pageobjects.mobile.MobilePageObject
-
- Direct Known Subclasses:
MobileConfluencePageObject,MobileNotificationsPage,MobileTasksPage,NotificationDrilldownItem,NotificationDrilldownPage,NotificationItem,TaskDetailPage,TaskItem
public class MobilePageObject extends AbstractPageObject
-
-
Field Summary
Fields Modifier and Type Field Description protected org.openqa.selenium.WebDriverdriverprotected static StringMOBILE_URL-
Fields inherited from class com.atlassian.mywork.pageobjects.AbstractPageObject
elementFinder, pageBinder, ROOT_URL
-
-
Constructor Summary
Constructors Constructor Description MobilePageObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends com.atlassian.pageobjects.Page>
TbackButton(Class<T> t)Hits the browser's back button, binding to the page object that we expect to return to.protected <T extends com.atlassian.pageobjects.Page>
TswitchTo(Class<T> t, com.atlassian.pageobjects.elements.PageElement element, int offset)-
Methods inherited from class com.atlassian.mywork.pageobjects.AbstractPageObject
waitForTransition
-
-
-
-
Field Detail
-
MOBILE_URL
protected static final String MOBILE_URL
- See Also:
- Constant Field Values
-
driver
@Inject protected org.openqa.selenium.WebDriver driver
-
-
Method Detail
-
switchTo
protected <T extends com.atlassian.pageobjects.Page> T switchTo(Class<T> t, com.atlassian.pageobjects.elements.PageElement element, int offset)
-
backButton
public <T extends com.atlassian.pageobjects.Page> T backButton(Class<T> t)
Hits the browser's back button, binding to the page object that we expect to return to.
-
-