com.atlassian.mywork.pageobjects.mobile
Class MobilePageObject

java.lang.Object
  extended by com.atlassian.mywork.pageobjects.AbstractPageObject
      extended by com.atlassian.mywork.pageobjects.mobile.MobilePageObject
Direct Known Subclasses:
MobileConfluencePageObject, MobileNotificationsPage, MobileTasksPage, NotificationDrilldownItem, NotificationDrilldownPage, NotificationItem, TaskDetailPage, TaskItem

public class MobilePageObject
extends AbstractPageObject


Field Summary
protected static java.lang.String MOBILE_URL
           
 
Fields inherited from class com.atlassian.mywork.pageobjects.AbstractPageObject
elementFinder, pageBinder, ROOT_URL
 
Constructor Summary
MobilePageObject()
           
 
Method Summary
<T extends com.atlassian.pageobjects.Page>
T
backButton(java.lang.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>
T
switchTo(java.lang.Class<T> t, com.atlassian.pageobjects.elements.PageElement element, int offset)
           
 
Methods inherited from class com.atlassian.mywork.pageobjects.AbstractPageObject
waitForTransition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MOBILE_URL

protected static final java.lang.String MOBILE_URL
See Also:
Constant Field Values
Constructor Detail

MobilePageObject

public MobilePageObject()
Method Detail

switchTo

protected <T extends com.atlassian.pageobjects.Page> T switchTo(java.lang.Class<T> t,
                                                                com.atlassian.pageobjects.elements.PageElement element,
                                                                int offset)

backButton

public <T extends com.atlassian.pageobjects.Page> T backButton(java.lang.Class<T> t)
Hits the browser's back button, binding to the page object that we expect to return to.



Copyright © 2013 Atlassian. All Rights Reserved.