public class LoginPage extends AbstractPage
Modifier and Type | Field and Description |
---|---|
static String |
FEEDBACK_MESSAGE_DIV_XPATH |
static String |
LOGIN_DIV_XPATH |
driver, userServicesForm
Constructor and Description |
---|
LoginPage(org.openqa.selenium.WebDriver driver) |
Modifier and Type | Method and Description |
---|---|
void |
login(String username,
String password)
Fills in the login form with the username and password.
|
<T> T |
login(String username,
String password,
Class<T> pageClassToProxy)
Logs in and returns the next page.
|
void |
login(String username,
String password,
String language)
Deprecated.
since 9.1 not used anymore, use
login(String, String) insted. |
asPage, clickOnTabIfNotSelected, clickOnTabIfNotSelected, clickOnTabIfNotSelected, closeFancyBox, findElementAndWaitUntilEnabled, findElementAndWaitUntilEnabled, findElementsWithTimeout, findElementWaitUntilEnabledAndClick, findElementWaitUntilEnabledAndClick, findElementWaitUntilEnabledAndClick, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, get, getErrorFeedbackMessage, getFancyBoxContent, getFeedbackMessage, getHeaderLinks, getInfoFeedbackMessage, getWebFragment, getWebFragment, hasElement, selectItemInDropDownMenu, switchToFrame, useAjaxTabs, waitForFancyBoxClosed, waitUntilEnabled, waitUntilEnabled, waitUntilEnabledAndClick, waitUntilEnabledAndClick, waitUntilURLDifferentFrom
public static final String FEEDBACK_MESSAGE_DIV_XPATH
public static final String LOGIN_DIV_XPATH
public LoginPage(org.openqa.selenium.WebDriver driver)
@Deprecated public void login(String username, String password, String language)
login(String, String)
insted.username
- the usernamepassword
- the passwordlanguage
- value of one of the options in the language select box. For example, English (United States)public void login(String username, String password)
username
- the usernamepassword
- the passwordCopyright © 2018 Nuxeo. All rights reserved.