|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use HtmlPage | |
---|---|
com.gargoylesoftware.htmlunit | Framework classes |
com.gargoylesoftware.htmlunit.html | Classes specific to html pages |
Uses of HtmlPage in com.gargoylesoftware.htmlunit |
---|
Methods in com.gargoylesoftware.htmlunit that return HtmlPage | |
---|---|
protected HtmlPage |
DefaultPageCreator.createHtmlPage(WebResponse webResponse,
WebWindow webWindow)
Create a 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,
HtmlElement htmlElement)
Pre process the specified source code in the context of the given page. |
boolean |
AjaxController.processSynchron(HtmlPage page,
WebRequestSettings requestSettings,
boolean async)
Gets notified of an AJAX call to determine how it should be processed |
boolean |
NicelyResynchronizingAjaxController.processSynchron(HtmlPage page,
WebRequestSettings requestSettings,
boolean async)
Resynchronizes calls performed from the thread where this instance has been created. |
Constructors in com.gargoylesoftware.htmlunit with parameters of type HtmlPage | |
---|---|
ScriptException(HtmlPage page,
Throwable throwable)
Create an instance |
|
ScriptException(HtmlPage page,
Throwable throwable,
String scriptSourceCode)
Creates an instance. |
Uses of HtmlPage in com.gargoylesoftware.htmlunit.html |
---|
Methods in com.gargoylesoftware.htmlunit.html that return HtmlPage | |
---|---|
HtmlPage |
FrameWindow.getEnclosingPage()
Return the html page in which the <frame> or <iframe> tag is contained for this frame window. |
HtmlPage |
DomNode.getPage()
Return the HtmlPage that contains this node |
HtmlPage |
HtmlPage.getPage()
|
static HtmlPage |
HTMLParser.parse(WebResponse webResponse,
WebWindow webWindow)
parse the HTML content from the given WebResponse into an object tree representation |
Methods in com.gargoylesoftware.htmlunit.html with parameters of type HtmlPage | |
---|---|
HtmlElement |
IElementFactory.createElement(HtmlPage page,
String tagName,
Attributes attributes)
create an element according to this factory's specification. |
HtmlElement |
InputElementFactory.createElement(HtmlPage page,
String tagName,
Attributes attributes)
Create an HtmlElement for the specified xmlElement, contained in the specified page. |
HtmlElement |
UnknownElementFactory.createElement(HtmlPage page,
String tagName,
Attributes attributes)
create an element according to this factory's specification. |
HtmlElement |
IElementFactory.createElementNS(HtmlPage page,
String namespaceURI,
String qualifiedName,
Attributes attributes)
create an element according to this factory's specification. |
HtmlElement |
InputElementFactory.createElementNS(HtmlPage page,
String namespaceURI,
String qualifiedName,
Attributes attributes)
create an element according to this factory's specification. |
HtmlElement |
UnknownElementFactory.createElementNS(HtmlPage page,
String namespaceURI,
String qualifiedName,
Attributes attributes)
create an element according to this factory's specification. |
Constructors in com.gargoylesoftware.htmlunit.html with parameters of type HtmlPage | |
---|---|
BaseFrame(String namespaceURI,
String qualifiedName,
HtmlPage page,
Map attributes)
Create an instance of BaseFrame |
|
ClickableElement(String namespaceURI,
String qualifiedName,
HtmlPage page,
Map attributes)
Create an instance |
|
FocusableElement(String namespaceURI,
String qualifiedName,
HtmlPage page,
Map attributes)
Deprecated. Create an instance. |
|
HtmlAddress(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlAddress. |
|
HtmlAnchor(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlAnchor. |
|
HtmlApplet(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlApplet. |
|
HtmlArea(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlArea. |
|
HtmlAttr(HtmlPage page,
String namespaceURI,
String qualifiedName,
String value)
Instantiate a new attribute. |
|
HtmlBase(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlBase. |
|
HtmlBaseFont(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlBaseFont. |
|
HtmlBidirectionalOverride(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlBidirectionalOverride. |
|
HtmlBlockQuote(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlBlockQuote. |
|
HtmlBody(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlBody. |
|
HtmlBreak(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlBreak. |
|
HtmlButton(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlButton. |
|
HtmlButtonInput(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlButtonInput. |
|
HtmlCaption(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlCaption. |
|
HtmlCenter(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlCenter. |
|
HtmlCheckBoxInput(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlCheckBoxInput. |
|
HtmlDefinitionDescription(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlDefinitionDescription. |
|
HtmlDefinitionList(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlDefinitionList. |
|
HtmlDefinitionTerm(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlDefinitionTerm. |
|
HtmlDeletedText(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlDeletedText. |
|
HtmlDivision(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlDivision. |
|
HtmlDivision(String namespaceURI,
String qualifiedName,
HtmlPage page,
Map attributes)
Create an instance of HtmlDivision. |
|
HtmlElement(String namespaceURI,
String qualifiedName,
HtmlPage htmlPage,
Map attributes)
Creates an instance. |
|
HtmlFieldSet(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlFieldSet. |
|
HtmlFileInput(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlFileInput. |
|
HtmlFont(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlFont. |
|
HtmlForm(HtmlPage htmlPage,
Map attributes)
Deprecated. You should not directly construct HtmlForm. |
|
HtmlFrame(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlFrame. |
|
HtmlFrameSet(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlFrameSet. |
|
HtmlHead(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlHead. |
|
HtmlHeader1(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlHeader1. |
|
HtmlHeader2(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlHeader2. |
|
HtmlHeader3(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlHeader3. |
|
HtmlHeader4(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlHeader4. |
|
HtmlHeader5(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlHeader5. |
|
HtmlHeader6(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlHeader6. |
|
HtmlHiddenInput(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlHiddenInput. |
|
HtmlHorizontalRule(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlHorizontalRule. |
|
HtmlHtml(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlHtml. |
|
HtmlImage(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlImage. |
|
HtmlImageInput(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlImageInput. |
|
HtmlInlineFrame(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlInlineFrame. |
|
HtmlInlineQuotation(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlInlineQuotation. |
|
HtmlInput(HtmlPage page,
Map attributes)
Create an instance |
|
HtmlInput(String namespaceURI,
String qualifiedName,
HtmlPage page,
Map attributes)
Create an instance |
|
HtmlInsertedText(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlInsertedText. |
|
HtmlIsIndex(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlIsIndex. |
|
HtmlLabel(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlLabel. |
|
HtmlLegend(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlLegend. |
|
HtmlLink(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlLink. |
|
HtmlListItem(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlListItem. |
|
HtmlMap(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlMap. |
|
HtmlMenu(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlMenu. |
|
HtmlMeta(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlMeta. |
|
HtmlNoFrames(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlNoFrames. |
|
HtmlNoScript(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlNoScript. |
|
HtmlObject(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlObject. |
|
HtmlOption(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlOption. |
|
HtmlOptionGroup(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlOptionGroup. |
|
HtmlOrderedList(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlOrderedList. |
|
HtmlParagraph(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlParagraph. |
|
HtmlParameter(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlParameter. |
|
HtmlPasswordInput(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlPasswordInput. |
|
HtmlPreformattedText(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlPreformattedText. |
|
HtmlRadioButtonInput(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlRadioButtonInput. |
|
HtmlResetInput(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlResetInput. |
|
HtmlScript(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlScript. |
|
HtmlSelect(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlSelect. |
|
HtmlSpan(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlSpan. |
|
HtmlStyle(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlStyle. |
|
HtmlSubmitInput(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlSubmitInput. |
|
HtmlTable(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlTable. |
|
HtmlTableBody(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlTableBody. |
|
HtmlTableCell(String namespaceURI,
String qualifiedName,
HtmlPage page,
Map attributes)
Create an instance |
|
HtmlTableColumn(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlTableColumn. |
|
HtmlTableColumnGroup(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlTableColumnGroup. |
|
HtmlTableDataCell(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlTableDataCell. |
|
HtmlTableFooter(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlTableFooter. |
|
HtmlTableHeader(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlTableHeader. |
|
HtmlTableHeaderCell(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlTableHeaderCell. |
|
HtmlTableRow(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlTableRow. |
|
HtmlTextArea(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlTextArea. |
|
HtmlTextDirection(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlTextDirection. |
|
HtmlTextInput(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlTextInput. |
|
HtmlTitle(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlTitle. |
|
HtmlUnorderedList(HtmlPage page,
Map attributes)
Deprecated. You should not directly construct HtmlUnorderedList. |
|
StyledElement(String namespaceURI,
String qualifiedName,
HtmlPage page,
Map attributes)
Create an instance |
|
TableRowGroup(String namespaceURI,
String qualifiedName,
HtmlPage page,
Map attributes)
Create an instance of TableRowGroup |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |