public class WebPageLocator extends AbstractLocator implements Locator
NOTE : Locators are one shot objects. A call to Locator.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.
AbstractLocator.LocatorTextOperationnodes, originalWebResponse, tester| Constructor and Description |
|---|
WebPageLocator(net.sourceforge.jwebunit.WebTester tester) |
| Modifier and Type | Method and Description |
|---|---|
String |
getHTML()
All of HTML of the web page
|
Node[] |
getNodes()
Returns the single top level Document element
|
String |
toString()
A meaningful "debugging" representation of this Locator to help when test fail.
|
allMatches, betterNode, containsNode, exists, getDOM, getHTML, getNode, getNodesTextImpl, getNodeTextImpl, getRawText, getRawText, getText, getText, getWebResponse, hasNodes, iterator, toStringImplclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitallMatches, exists, getHTML, getNode, getRawText, getRawText, getText, getText, hasNodes, iteratorpublic Node[] getNodes()
public String getHTML()
getHTML in interface LocatorgetHTML in class AbstractLocatorCopyright © 2002-2023 Atlassian. All Rights Reserved.