public class LoginPage extends AbstractPage
URLCHANGE_MAX_WAIT, 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)
Fills in the login form with the username, password and language.
|
asPage, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, get, getFeedbackMessage, getHeaderLinks, waitUntilEnabled, waitUntilEnabled, waitUntilURLDifferentFrom
public void login(String username, String password, String language)
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 © 2011 Nuxeo SA. All Rights Reserved.