Class ConfluenceTestedProduct
java.lang.Object
com.atlassian.confluence.pageobjects.ConfluenceTestedProduct
- All Implemented Interfaces:
com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
@Deprecated
public class ConfluenceTestedProduct
extends Object
implements com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
Deprecated.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionConfluenceTestedProduct(com.atlassian.pageobjects.TestedProductFactory.TesterFactory<com.atlassian.webdriver.pageobjects.WebDriverTester> testerFactory, com.atlassian.pageobjects.ProductInstance productInstance) Deprecated.ConfluenceTestedProduct(com.atlassian.pageobjects.TestedProductFactory.TesterFactory<com.atlassian.webdriver.pageobjects.WebDriverTester> testerFactory, com.atlassian.pageobjects.ProductInstance productInstance, ConfluenceTestedProduct.LoginType loginType) Deprecated. -
Method Summary
Modifier and TypeMethodDescription<M extends com.atlassian.pageobjects.Page>
MautoLoginEmbeddingCredentialsInUrl(User user, Class<M> destinationClass, Object... args) Deprecated.Faster way of login when in testing environment by embedding the credentials in the url, so we don't have to visit the login page every single time.voidDeprecated.voidDeprecated.com.atlassian.pageobjects.PageBinderDeprecated.com.atlassian.pageobjects.ProductInstanceDeprecated.com.atlassian.webdriver.pageobjects.WebDriverTesterDeprecated.Deprecated.Deprecated.<M extends com.atlassian.pageobjects.Page>
MDeprecated.loginAndCreateBlog(User user, Space space) Deprecated.loginAndCreatePage(User user, Space space) Deprecated.loginAndCreatePageTemplate(User user, Space space) Deprecated.loginAndEdit(User user, BlogPost blog) Deprecated.loginAndEdit(User user, Draft draft) Deprecated.loginAndEdit(User user, Page page) Deprecated.loginAndEditRestricted(User user, AbstractPageEntity page) Deprecated.loginAndView(User user, BlogPost blogPost) Deprecated.loginAndView(User user, Page page) Deprecated.loginAndViewRestricted(User user, AbstractPageEntity page) Deprecated.logOut()Deprecated.voidDeprecated.refresh()Deprecated.Make the underlying driver refresh the current page, e.g.Deprecated.<P extends com.atlassian.pageobjects.Page>
PDeprecated.com.atlassian.pageobjects.page.LoginPagevisitPageExpectingLogin(Class<? extends com.atlassian.pageobjects.Page> destination, Object... args) Deprecated.<M extends com.atlassian.pageobjects.Page>
MvisitUrlAfterLogin(User user, Class<M> destinationClass, Object... args) Deprecated.After login, an atlassian-token is embeeded in the page meta and will not be cleaned up until current session logout.
-
Constructor Details
-
ConfluenceTestedProduct
public ConfluenceTestedProduct(com.atlassian.pageobjects.TestedProductFactory.TesterFactory<com.atlassian.webdriver.pageobjects.WebDriverTester> testerFactory, com.atlassian.pageobjects.ProductInstance productInstance) Deprecated. -
ConfluenceTestedProduct
public ConfluenceTestedProduct(com.atlassian.pageobjects.TestedProductFactory.TesterFactory<com.atlassian.webdriver.pageobjects.WebDriverTester> testerFactory, com.atlassian.pageobjects.ProductInstance productInstance, ConfluenceTestedProduct.LoginType loginType) Deprecated.
-
-
Method Details
-
gotoHomePage
Deprecated. -
visitPageExpectingLogin
public com.atlassian.pageobjects.page.LoginPage visitPageExpectingLogin(Class<? extends com.atlassian.pageobjects.Page> destination, Object... args) Deprecated. -
login
public <M extends com.atlassian.pageobjects.Page> M login(User user, Class<M> destination, Object... args) Deprecated. -
visitUrlAfterLogin
public <M extends com.atlassian.pageobjects.Page> M visitUrlAfterLogin(User user, Class<M> destinationClass, Object... args) Deprecated.After login, an atlassian-token is embeeded in the page meta and will not be cleaned up until current session logout. so we can add it to the target url as atl_token param that if the related API requires xsrf token. -
autoLoginEmbeddingCredentialsInUrl
public <M extends com.atlassian.pageobjects.Page> M autoLoginEmbeddingCredentialsInUrl(User user, Class<M> destinationClass, Object... args) Deprecated.Faster way of login when in testing environment by embedding the credentials in the url, so we don't have to visit the login page every single time. -
loginAndEdit
Deprecated. -
loginAndEdit
Deprecated. -
loginAndEdit
Deprecated. -
loginAndCreatePage
Deprecated. -
loginAndCreatePageTemplate
Deprecated. -
loginAndCreateBlog
Deprecated. -
loginAndView
Deprecated. -
loginAndView
Deprecated. -
logOut
Deprecated. -
logOutFast
public void logOutFast()Deprecated. -
deleteAllCookies
public void deleteAllCookies()Deprecated. -
clearLocalStorage
public void clearLocalStorage()Deprecated. -
visit
Deprecated.- Specified by:
visitin interfacecom.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
-
getXsrfToken
Deprecated. -
viewPage
Deprecated. -
loginAndViewRestricted
Deprecated. -
loginAndEditRestricted
Deprecated. -
getPageBinder
public com.atlassian.pageobjects.PageBinder getPageBinder()Deprecated.- Specified by:
getPageBinderin interfacecom.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
-
getProductInstance
public com.atlassian.pageobjects.ProductInstance getProductInstance()Deprecated.- Specified by:
getProductInstancein interfacecom.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
-
getTester
public com.atlassian.webdriver.pageobjects.WebDriverTester getTester()Deprecated.- Specified by:
getTesterin interfacecom.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
-
refresh
Deprecated.Make the underlying driver refresh the current page, e.g. you change some config over XML-RPC.Be aware that all your
WebElements become stale, so make sure you either usePageElements or re-locate them after calling this method.- See Also:
-
ElementByPageElementFinder
-
ConfluenceTestedProductinstead from maven modulecom.atlassian.confluence:confluence-webdriver-pageobjects. See the new README.