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.
in 5.8. Use ConfluenceTestedProduct instead from maven module com.atlassian.confluence:confluence-webdriver-pageobjects. See the new README.
  • 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

      public DashboardPage 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

      public EditContentPage loginAndEdit(User user, BlogPost blog)
      Deprecated.
    • loginAndEdit

      public EditContentPage loginAndEdit(User user, Draft draft)
      Deprecated.
    • loginAndEdit

      public EditContentPage loginAndEdit(User user, Page page)
      Deprecated.
    • loginAndCreatePage

      public CreatePage loginAndCreatePage(User user, Space space)
      Deprecated.
    • loginAndCreatePageTemplate

      public CreatePageTemplate loginAndCreatePageTemplate(User user, Space space)
      Deprecated.
    • loginAndCreateBlog

      public CreateBlog loginAndCreateBlog(User user, Space space)
      Deprecated.
    • loginAndView

      public ViewPage loginAndView(User user, Page page)
      Deprecated.
    • loginAndView

      public ViewPage loginAndView(User user, BlogPost blogPost)
      Deprecated.
    • logOut

      public LogoutPage logOut()
      Deprecated.
    • logOutFast

      public void logOutFast()
      Deprecated.
    • deleteAllCookies

      public void deleteAllCookies()
      Deprecated.
    • clearLocalStorage

      public void clearLocalStorage()
      Deprecated.
    • visit

      public <P extends com.atlassian.pageobjects.Page> P visit(Class<P> pageClass, Object... args)
      Deprecated.
      Specified by:
      visit in interface com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
    • getXsrfToken

      public String getXsrfToken()
      Deprecated.
    • viewPage

      public ViewPage viewPage(String pageId)
      Deprecated.
    • loginAndViewRestricted

      public ViewRestrictedPage loginAndViewRestricted(User user, AbstractPageEntity page)
      Deprecated.
    • loginAndEditRestricted

      public EditRestrictedPage loginAndEditRestricted(User user, AbstractPageEntity page)
      Deprecated.
    • getPageBinder

      public com.atlassian.pageobjects.PageBinder getPageBinder()
      Deprecated.
      Specified by:
      getPageBinder in interface com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
    • getProductInstance

      public com.atlassian.pageobjects.ProductInstance getProductInstance()
      Deprecated.
      Specified by:
      getProductInstance in interface com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
    • getTester

      public com.atlassian.webdriver.pageobjects.WebDriverTester getTester()
      Deprecated.
      Specified by:
      getTester in interface com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
    • refresh

      public ConfluenceTestedProduct 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 use PageElements or re-locate them after calling this method.

      See Also:
      • ElementBy
      • PageElementFinder