|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use HtmlPage | |
---|---|
com.gargoylesoftware.htmlunit | Framework classes (contains the WebClient class which is the main entry point). |
com.gargoylesoftware.htmlunit.html | Classes specific to HTML pages, particularly the HtmlPage which represents an HTML document and provides access to its content. |
Uses of HtmlPage in com.gargoylesoftware.htmlunit |
---|
Methods in com.gargoylesoftware.htmlunit that return HtmlPage | |
---|---|
protected HtmlPage |
DefaultPageCreator.createHtmlPage(WebResponse webResponse,
WebWindow webWindow)
Creates an HtmlPage for this WebResponse. |
HtmlPage |
ScriptException.getPage()
Gets the HTML page in which the script error occurred. Caution: this page may be only partially parsed if the exception occurred in a script executed at parsing time. |
Methods in com.gargoylesoftware.htmlunit with parameters of type HtmlPage | |
---|---|
static void |
WebAssert.assertAllAccessKeyAttributesUnique(HtmlPage page)
Many HTML components can have an accesskey attribute which defines a hot key for keyboard navigation. |
static void |
WebAssert.assertAllIdAttributesUnique(HtmlPage page)
Verifies that all element IDs in the specified page are unique. |
static void |
WebAssert.assertAllTabIndexAttributesSet(HtmlPage page)
Many HTML elements are "tabbable" and can have a tabindex attribute that determines the order in which the components are navigated when pressing the tab key. |
static void |
WebAssert.assertElementNotPresent(HtmlPage page,
String id)
Verifies that the specified page does not contain an element with the specified ID. |
static void |
WebAssert.assertElementNotPresentByXPath(HtmlPage page,
String xpath)
Verifies that the specified page does not contain an element matching the specified XPath expression. |
static void |
WebAssert.assertElementPresent(HtmlPage page,
String id)
Verifies that the specified page contains an element with the specified ID. |
static void |
WebAssert.assertElementPresentByXPath(HtmlPage page,
String xpath)
Verifies that the specified page contains an element matching the specified XPath expression. |
static void |
WebAssert.assertFormNotPresent(HtmlPage page,
String name)
Verifies that the specified page does not contain a form with the specified name. |
static void |
WebAssert.assertFormPresent(HtmlPage page,
String name)
Verifies that the specified page contains a form with the specified name. |
static void |
WebAssert.assertInputContainsValue(HtmlPage page,
String name,
String value)
Verifies that the input element with the specified name on the specified page contains the specified value. |
static void |
WebAssert.assertInputDoesNotContainValue(HtmlPage page,
String name,
String value)
Verifies that the input element with the specified name on the specified page does not contain the specified value. |
static void |
WebAssert.assertInputNotPresent(HtmlPage page,
String name)
Verifies that the specified page does not contain an input element with the specified name. |
static void |
WebAssert.assertInputPresent(HtmlPage page,
String name)
Verifies that the specified page contains an input element with the specified name. |
static void |
WebAssert.assertLinkNotPresent(HtmlPage page,
String id)
Verifies that the specified page does not contain a link with the specified ID. |
static void |
WebAssert.assertLinkNotPresentWithText(HtmlPage page,
String text)
Verifies that the specified page does not contain a link with the specified text. |
static void |
WebAssert.assertLinkPresent(HtmlPage page,
String id)
Verifies that the specified page contains a link with the specified ID. |
static void |
WebAssert.assertLinkPresentWithText(HtmlPage page,
String text)
Verifies that the specified page contains a link with the specified text. |
static void |
WebAssert.assertTextNotPresent(HtmlPage page,
String text)
Verifies that the specified page does not contain the specified text. |
static void |
WebAssert.assertTextNotPresentInElement(HtmlPage page,
String text,
String id)
Verifies that the element on the specified page which matches the specified ID does not contain the specified text. |
static void |
WebAssert.assertTextPresent(HtmlPage page,
String text)
Verifies that the specified page contains the specified text. |
static void |
WebAssert.assertTextPresentInElement(HtmlPage page,
String text,
String id)
Verifies that the element on the specified page which matches the specified ID contains the specified text. |
static void |
WebAssert.assertTitleContains(HtmlPage page,
String titlePortion)
Verifies that the specified page's title contains the specified substring. |
static void |
WebAssert.assertTitleEquals(HtmlPage page,
String title)
Verifies that the specified page's title equals the specified expected title. |
static void |
WebAssert.assertTitleMatches(HtmlPage page,
String regex)
Verifies that the specified page's title matches the specified regular expression. |
String |
ScriptPreProcessor.preProcess(HtmlPage htmlPage,
String sourceCode,
String sourceName,
int lineNumber,
HtmlElement htmlElement)
Pre process the specified source code in the context of the given page. |
boolean |
NicelyResynchronizingAjaxController.processSynchron(HtmlPage page,
WebRequest settings,
boolean async)
Resynchronizes calls performed from the thread where this instance has been created. |
boolean |
AjaxController.processSynchron(HtmlPage page,
WebRequest request,
boolean async)
Gets notified of an AJAX call to determine how it should be processed. |
Constructors in com.gargoylesoftware.htmlunit with parameters of type HtmlPage | |
---|---|
ScriptException(HtmlPage page,
Throwable throwable)
Creates an instance. |
|
ScriptException(HtmlPage page,
Throwable throwable,
String scriptSourceCode)
Creates an instance. |
Uses of HtmlPage in com.gargoylesoftware.htmlunit.html |
---|
Subclasses of HtmlPage in com.gargoylesoftware.htmlunit.html | |
---|---|
class |
XHtmlPage
A representation of an XHTML page returned from a server. |
Methods in com.gargoylesoftware.htmlunit.html that return HtmlPage | |
---|---|
protected HtmlPage |
HtmlPage.clone()
Creates a clone of this instance, and clears cached state to be not shared with the original. |
HtmlPage |
HtmlPage.cloneNode(boolean deep)
Override cloneNode to add cloned elements to the clone, not to the original. |
HtmlPage |
FrameWindow.getEnclosingPage()
Returns the HTML page in which the <frame> or <iframe> tag is contained for this frame window. |
HtmlPage |
HtmlPage.getPage()
Returns the page that contains this node. |
static HtmlPage |
HTMLParser.parseHtml(WebResponse webResponse,
WebWindow webWindow)
Parses the HTML content from the specified WebResponse into an object tree representation. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |