|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.selenium.client.Suite
public class Suite
Provides site actions common to Standalone and OnDemand Confluence instances.
Method Summary | |
---|---|
SpaceBrowse |
browseSpace(Space space)
|
Breadcrumbs |
getBreadcrumbs()
|
static Suite |
getInstance()
|
String |
getLoggedInUser()
|
void |
logIn(User user)
|
PageView |
logIn(User user,
BlogPost destination)
|
PageView |
logIn(User user,
Page destination)
|
SpaceBrowse |
logIn(User user,
Space destination)
|
void |
logIn(User user,
String destination)
|
void |
logIn(User user,
String destination,
long timeoutMillis)
Log in as the specified user, going to the provided URL (relative to the context path) after logging in. |
void |
logIn(User user,
String destination,
long timeoutMillis,
boolean rememberMe)
Log in as the specified user, going to the provided URL (relative to the context path) after logging in. |
void |
logIn(User user,
String destination,
long timeoutMillis,
boolean rememberMe,
String language)
Log in as the specified user, going to the provided URL (relative to the context path) after logging in. |
void |
logOut()
|
void |
logOutWithoutLeavingCurrentPage()
This doesn't work on IE for some reason, it gives a JS error. |
void |
viewDashboard()
|
PageView |
viewPage(LinkableContent page)
Views the given page or blogpost, without logging in, and returns a PageView. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Suite getInstance()
public void logOut()
public void logOutWithoutLeavingCurrentPage()
public PageView logIn(User user, Page destination)
public PageView logIn(User user, BlogPost destination)
public SpaceBrowse logIn(User user, Space destination)
public void logIn(User user, String destination)
public void logIn(User user)
public void logIn(User user, String destination, long timeoutMillis, boolean rememberMe)
user
- the user to log in as.destination
- where to go after logging in. Pass 'null' to go to the default homepage.timeoutMillis
- maximum wait time for the destination page to load in milliseconds, or zero
to wait for the default time specified by ConfluenceSeleniumClient
.rememberMe
- set "remember me" checkbox when login inpublic void logIn(User user, String destination, long timeoutMillis, boolean rememberMe, String language)
user
- the user to log in as.destination
- where to go after logging in. Pass 'null' to go to the default homepage.timeoutMillis
- maximum wait time for the destination page to load in milliseconds, or zero
to wait for the default time specified by ConfluenceSeleniumClient
.rememberMe
- set "remember me" checkbox when login inlanguage
- Which language to use (e.g. en_GB, de_DE, fr_FR)public void logIn(User user, String destination, long timeoutMillis)
user
- the user to log in as.destination
- where to go after logging in. Pass 'null' to go to the default homepage.timeoutMillis
- maximum wait time for the destination page to load in milliseconds, or zero
to wait for the default time specified by ConfluenceSeleniumClient
.public String getLoggedInUser()
public Breadcrumbs getBreadcrumbs()
public void viewDashboard()
public PageView viewPage(LinkableContent page)
public SpaceBrowse browseSpace(Space space)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |