Modifier and Type | Method and Description |
---|---|
WebPage |
WebUser.getCurrentPage() |
Constructor and Description |
---|
WebUser(Browser browser,
WebPage initialPage)
Create a WebUser with the given Browser (which may be open or closed)
and the given initial page.
|
Modifier and Type | Method and Description |
---|---|
WebPage |
VerifySocialIcons.run(WebPage previousPage) |
WebPage |
VerifyBio.run(WebPage previousPage) |
WebPage |
Search.run(WebPage previousPage) |
WebPage |
CanCompliment.run(WebPage previousPage) |
Modifier and Type | Method and Description |
---|---|
WebPage |
VerifySocialIcons.run(WebPage previousPage) |
WebPage |
VerifyBio.run(WebPage previousPage) |
WebPage |
Search.run(WebPage previousPage) |
WebPage |
CanCompliment.run(WebPage previousPage) |
Modifier and Type | Class and Description |
---|---|
class |
ComplimentDialog
Model the dialog which pops up in the
SearchResultsPage
when clicking on the compliment button in any single
SearchResult . |
class |
MyAboutMePage
Models any profile page on about.me, e.g.
|
class |
SearchResult
Models a single box in the
SearchResultsPage ,
representing a single search result,
corresponding to an about.me profile. |
class |
SearchResultsPage
Model the page with the search results.
|
Constructor and Description |
---|
ComplimentDialog(org.openqa.selenium.WebDriver driver,
WebPage previous) |
MyAboutMePage(org.openqa.selenium.WebDriver driver,
WebPage previous) |
SearchResult(org.openqa.selenium.WebElement root,
org.openqa.selenium.WebDriver driver,
WebPage previous) |
SearchResultsPage(org.openqa.selenium.WebDriver driver,
WebPage previous) |
Modifier and Type | Method and Description |
---|---|
protected abstract WebPage |
ManualNavigationWebTask.landingPage() |
WebPage |
WebTask.run(WebPage initialPage)
Perform this task as the user
WebTask.getUser() . |
WebPage |
OrWebTask.run(WebPage initialPage) |
WebPage |
NavigationWebTask.run(WebPage previousPage)
Navigate to
NavigationWebTask.pageToLoadClass() and return its instance. |
WebPage |
MyBrowserIsOpen.run(WebPage noPage)
Open the browser.
|
WebPage |
ManualNavigationWebTask.run(WebPage previousPage)
Navigate to the relative URL
ManualNavigationWebTask.targetUrl()
and return the page ManualNavigationWebTask.landingPage() . |
WebPage |
ImLoggedInBase.run(WebPage noPage)
Browse to the login page and do the login.
|
WebPage |
CompositeWebTask.run(WebPage initialPage)
Runs each subtask in order, and finally return the
page that the last task was visiting.
|
Modifier and Type | Method and Description |
---|---|
WebPage |
WebTask.run(WebPage initialPage)
Perform this task as the user
WebTask.getUser() . |
WebPage |
OrWebTask.run(WebPage initialPage) |
WebPage |
NavigationWebTask.run(WebPage previousPage)
Navigate to
NavigationWebTask.pageToLoadClass() and return its instance. |
WebPage |
MyBrowserIsOpen.run(WebPage noPage)
Open the browser.
|
WebPage |
ManualNavigationWebTask.run(WebPage previousPage)
Navigate to the relative URL
ManualNavigationWebTask.targetUrl()
and return the page ManualNavigationWebTask.landingPage() . |
WebPage |
ImLoggedInBase.run(WebPage noPage)
Browse to the login page and do the login.
|
WebPage |
CompositeWebTask.run(WebPage initialPage)
Runs each subtask in order, and finally return the
page that the last task was visiting.
|
Modifier and Type | Interface and Description |
---|---|
interface |
LoginPage<T extends WebPage>
Represents the page for logging in which will typically offer
a form with two text fields, one for the username, and one
for the password.
|
Modifier and Type | Interface and Description |
---|---|
interface |
LoadablePage
A page that can be accessed directly, from a URL with no run-time parameters,
e.g.
|
interface |
LoginPage<T extends WebPage>
Represents the page for logging in which will typically offer
a form with two text fields, one for the username, and one
for the password.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseWebPage
Abstract class representing a generic page.
|
Modifier and Type | Field and Description |
---|---|
protected WebPage |
BaseWebPage.previousPage |
Constructor and Description |
---|
BaseWebPage(org.openqa.selenium.WebDriver driver,
WebPage previous)
Calls
PageFactory.initElements(WebDriver, Object)
and BaseWebPage.waitUntilIsLoaded() . |
Copyright © 2015. All rights reserved.