Class Overview
This locator returns the whole of the web page as text.
NOTE :
Locator
s are one shot objects. A call to
getNodes()
should return the same Nodes every time it is called. Even if the underlying
data source has changed (for example the WebTester page has changed) the
Locator
MUST return the same data.
Public Constructors
public
WebPageLocator
(WebTester tester)
Public Methods
public
String
getHTML
()
All of HTML of the web page
public
Node[]
getNodes
()
Returns the single top level Document element
Returns
- the single top level Document element