public interface LoginPage extends Page
| Modifier and Type | Method and Description |
|---|---|
<M extends Page> |
login(String username,
String password,
Class<M> nextPage)
Logs in a user and sends the browser to the next page
|
<M extends Page> |
loginAsSysAdmin(Class<M> nextPage)
Logs in the default sysadmin user and sends the browser to the next page
|
<M extends Page> M login(String username, String password, Class<M> nextPage)
M - The page typeusername - The username to loginpassword - The password to login withnextPage - The next page to visit, which may involve changing the URL. Cannot be null.<M extends Page> M loginAsSysAdmin(Class<M> nextPage)
M - The page typenextPage - The next page to visit, which may involve changing the URL. Cannot be null.Copyright © 2015 Atlassian. All rights reserved.