com.atlassian.confluence.pageobjects.page
Class ConfluenceLoginPage
java.lang.Object
com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage
com.atlassian.confluence.pageobjects.page.ConfluenceLoginPage
- All Implemented Interfaces:
- com.atlassian.pageobjects.Page, com.atlassian.pageobjects.page.LoginPage
- Direct Known Subclasses:
- LogoutPage
public class ConfluenceLoginPage
- extends ConfluenceAbstractPage
- implements com.atlassian.pageobjects.page.LoginPage
Page object implementation for the LoginPage in Confluence.
Methods inherited from class com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage |
doWait, getAlert, getComponent, getHeader, getMainHeader, getPageHeadingColor, isDarkFeatureEnabled, isLoggedIn, openAddMenu, openBrowseMenu, openHelpMenu, openToolsMenu, openUserMenu, sendKeyboardShortcut, sendKeyboardShortcutAndWaitForCondition, setSetupComplete |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URI
public static final String URI
- See Also:
- Constant Field Values
USERNAME_ERROR_ID
public static final String USERNAME_ERROR_ID
- See Also:
- Constant Field Values
PASSWORD_ERROR_ID
public static final String PASSWORD_ERROR_ID
- See Also:
- Constant Field Values
CAPTCHA_RESPONSE_ID
public static final String CAPTCHA_RESPONSE_ID
- See Also:
- Constant Field Values
language
protected String language
ConfluenceLoginPage
public ConfluenceLoginPage()
ConfluenceLoginPage
public ConfluenceLoginPage(String language)
getUrl
public String getUrl()
- Specified by:
getUrl
in interface com.atlassian.pageobjects.Page
waitForLoginJs
public void waitForLoginJs()
login
public <M extends com.atlassian.pageobjects.Page> M login(String username,
String password,
Class<M> nextPage)
- Specified by:
login
in interface com.atlassian.pageobjects.page.LoginPage
loginAsSysAdmin
public <M extends com.atlassian.pageobjects.Page> M loginAsSysAdmin(Class<M> nextPage)
- Specified by:
loginAsSysAdmin
in interface com.atlassian.pageobjects.page.LoginPage
login
public void login(String username,
String password,
boolean rememberMe)
login
public <M extends com.atlassian.pageobjects.Page> M login(User user,
Class<M> destinationClass,
Object... args)
usernameRequiredErrorIsDisplayed
public boolean usernameRequiredErrorIsDisplayed()
passwordRequiredErrorIsDisplayed
public boolean passwordRequiredErrorIsDisplayed()
captchaResponseIsDisplayed
public boolean captchaResponseIsDisplayed()
Copyright © 2003-2013 Atlassian. All Rights Reserved.