| Modifier and Type | Field and Description |
|---|---|
protected WebDrone |
drone |
protected long |
maxPageLoadingTime |
| Modifier | Constructor and Description |
|---|---|
protected |
Page(WebDrone drone) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the browser.
|
WebDrone |
getDrone() |
File |
getScreenShot()
Grabs a screen shot of currently displayed page.
|
String |
getTitle()
Gets the title of the html page
as it appears on the browser header.
|
boolean |
isBrowserTitle(String titleName)
Helper method to verify if the current Browser page
title contains the title name.
|
String |
toString() |
protected long maxPageLoadingTime
protected WebDrone drone
protected Page(WebDrone drone)
public String getTitle()
public boolean isBrowserTitle(String titleName)
titleName - String partial title valuepublic WebDrone getDrone()
public File getScreenShot()
Copyright © 2013. All Rights Reserved.