# Uses of Class
org.htmlunit.html.HtmlPage

Packages that use HtmlPage
Package
Description
com.xceptance.xlt.api.actions
Provides abstract super classes for different types of actions.
com.xceptance.xlt.api.engine.scripting
Provides the base classes for Java test cases which were created by the Script Developer while exporting script test cases.
com.xceptance.xlt.api.util
Provides various utility classes to make writing test cases easier.
com.xceptance.xlt.api.validators
Provides some standard validator implementations.
org.htmlunit
Framework classes (contains the `WebClient` class which is the main entry point).
org.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.xceptance.xlt.api.actions

  Methods in com.xceptance.xlt.api.actions that return HtmlPage
  Modifier and Type
  Method
  Description
  `HtmlPage`
  AbstractHtmlPageAction.`getHtmlPage()`
  Returns the parsed HTML page object generated by this action.
  Methods in com.xceptance.xlt.api.actions with parameters of type HtmlPage
  Modifier and Type
  Method
  Description
  `void`
  AbstractHtmlPageAction.`setHtmlPage(HtmlPage htmlPage)`
  Sets the given HTML page object to be the result of this action.
  `void`
  AbstractHtmlPageAction.`setHtmlPage(HtmlPage htmlPage, long waitingTime)`
  Sets the given HTML page object to be the result of this action and waits for background task to be finished.

- ## Uses of HtmlPage in com.xceptance.xlt.api.engine.scripting

  Methods in com.xceptance.xlt.api.engine.scripting that return HtmlPage
  Modifier and Type
  Method
  Description
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`addSelection(String select, String option)`
  Adds the given option of the given select to the current selection.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`addSelection(String select, String option)`
  Adds the given option of the given select to the current selection.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`check(String elementLocator)`
  Checks/toggles the given element.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`check(String elementLocator)`
  Checks/toggles the given element.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`checkAndWait(String elementLocator)`
  Checks/toggles the given element and waits for some activity to complete.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`checkAndWait(String elementLocator)`
  Checks/toggles the given element and waits for some activity to complete.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`click(String elementLocator)`
  Clicks the given element.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`click(String elementLocator)`
  Clicks the given element.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`clickAndWait(String elementLocator)`
  Clicks the given element and waits for some activity to complete.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`clickAndWait(String elementLocator)`
  Clicks the given element and waits for some activity to complete.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`contextMenu(String elementLocator)`
  Simulates a right-click on the given element.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`contextMenu(String elementLocator)`
  Simulates a right-click on the given element.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`contextMenuAt(String elementLocator, int coordX, int coordY)`
  Simulates a right-click at the given coordinates (relative to the given element).
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`contextMenuAt(String elementLocator, String coordinates)`
  Simulates a right-click at the given coordinates (relative to the given element).
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`contextMenuAt(String elementLocator, int coordX, int coordY)`
  Simulates a right-click at the given coordinates (relative to the given element).
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`contextMenuAt(String elementLocator, String coordinates)`
  Simulates a right-click at the given coordinates (relative to the given element).
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`doubleClick(String elementLocator)`
  Double-clicks the given element.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`doubleClick(String elementLocator)`
  Double-clicks the given element.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`doubleClickAndWait(String elementLocator)`
  Double-clicks the given element and waits for a page to be loaded.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`doubleClickAndWait(String elementLocator)`
  Double-clicks the given element and waits for a page to be loaded.
  `protected abstract HtmlPage`
  AbstractHtmlUnitCommandsModule.`execute(HtmlPage page)`
  Executes the module steps.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`mouseDown(String elementLocator)`
  Presses the left mouse button on an element, but does not release the button yet.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`mouseDown(String elementLocator)`
  Presses the left mouse button on an element, but does not release the button yet.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`mouseDownAt(String elementLocator, int coordX, int coordY)`
  Presses the left mouse button at the given coordinates (relative to the given element), but does not release the button yet.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`mouseDownAt(String elementLocator, String coordinates)`
  Presses the left mouse button at the given coordinates (relative to the given element), but does not release the button yet.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`mouseDownAt(String elementLocator, int coordX, int coordY)`
  Presses the left mouse button at the given coordinates (relative to the given element), but does not release the button yet.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`mouseDownAt(String elementLocator, String coordinates)`
  Presses the left mouse button at the given coordinates (relative to the given element), but does not release the button yet.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`mouseMove(String elementLocator)`
  Moves the mouse to the given element.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`mouseMove(String elementLocator)`
  Moves the mouse to the given element.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`mouseMoveAt(String elementLocator, int coordX, int coordY)`
  Moves the mouse to the given coordinates (relative to the given element).
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`mouseMoveAt(String elementLocator, String coordinates)`
  Moves the mouse to the given coordinates (relative to the given element).
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`mouseMoveAt(String elementLocator, int coordX, int coordY)`
  Moves the mouse to the given coordinates (relative to the given element).
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`mouseMoveAt(String elementLocator, String coordinates)`
  Moves the mouse to the given coordinates (relative to the given element).
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`mouseOut(String elementLocator)`
  Moves the mouse out of the element's bounding box.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`mouseOut(String elementLocator)`
  Moves the mouse out of the element's bounding box.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`mouseOver(String elementLocator)`
  Hovers the mouse over an element.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`mouseOver(String elementLocator)`
  Hovers the mouse over an element.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`mouseUp(String elementLocator)`
  Releases the left mouse button on an element.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`mouseUp(String elementLocator)`
  Releases the left mouse button on an element.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`mouseUpAt(String elementLocator, int coordX, int coordY)`
  Releases the left mouse button at the given coordinates (relative to the given element).
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`mouseUpAt(String elementLocator, String coordinates)`
  Releases the left mouse button at the given coordinates (relative to the given element).
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`mouseUpAt(String elementLocator, int coordX, int coordY)`
  Releases the left mouse button at the given coordinates (relative to the given element).
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`mouseUpAt(String elementLocator, String coordinates)`
  Releases the left mouse button at the given coordinates (relative to the given element).
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`open(String urlToOpen)`
  Opens the given URL.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`open(URL urlToOpen)`
  Opens the given URL.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`open(String urlToOpen)`
  Opens the given URL.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`open(URL urlToOpen)`
  Opens the given URL.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`pause(long waitingTime)`
  Waits the given time.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`pause(String waitingTime)`
  Waits the given time.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`pause(long waitingTime)`
  Waits the given time.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`pause(String waitingTime)`
  Waits the given time.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`removeSelection(String select, String option)`
  Removes the given option of the given select from the current selection.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`removeSelection(String select, String option)`
  Removes the given option of the given select from the current selection.
  `HtmlPage`
  AbstractHtmlUnitCommandsModule.`run(HtmlPage page)`
  Runs the module.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`select(String select, String option)`
  Selects the given option of the given select.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`select(String select, String option)`
  Selects the given option of the given select.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`selectAndWait(String select, String option)`
  Selects the given option of the given select and waits for some activity to complete.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`selectAndWait(String select, String option)`
  Selects the given option of the given select and waits for some activity to complete.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`selectFrame(String frameTarget)`
  Selects the given frame.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`selectFrame(String frameTarget)`
  Selects the given frame.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`selectWindow()`
  Selects the top-level window.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`selectWindow(String windowTarget)`
  Selects the given window.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`selectWindow()`
  Selects the top-level window.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`selectWindow(String windowTarget)`
  Selects the given window.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`submit(String form)`
  Submits the given form.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`submit(String form)`
  Submits the given form.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`submitAndWait(String form)`
  Submits the given form and waits for some activity to complete.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`submitAndWait(String form)`
  Submits the given form and waits for some activity to complete.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`type(String elementLocator, String text)`
  Types the given text into the given input field.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`type(String elementLocator, String text)`
  Types the given text into the given input field.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`typeAndWait(String elementLocator, String text)`
  Types the given text into the given input field and waits for some activity to complete.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`typeAndWait(String elementLocator, String text)`
  Types the given text into the given input field and waits for some activity to complete.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`uncheck(String elementLocator)`
  Unchecks the given checkbox/radio button.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`uncheck(String elementLocator)`
  Unchecks the given checkbox/radio button.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`uncheckAndWait(String elementLocator)`
  Unchecks the given checkbox/radio button and waits for a page load.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`uncheckAndWait(String elementLocator)`
  Unchecks the given checkbox/radio button and waits for a load.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForAttribute(String attributeLocator, String textPattern)`
  Waits until the value of the attribute identified by the given attribute locator matches the given text pattern.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForAttribute(String elementLocator, String attributeName, String textPattern)`
  Waits until the value of the given element and attribute matches the given text pattern.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForAttribute(String attributeLocator, String textPattern)`
  Waits until the value of the attribute identified by the given attribute locator matches the given text pattern.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForAttribute(String elementLocator, String attributeName, String textPattern)`
  Waits until the value of the given element and attribute matches the given text pattern.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForChecked(String elementLocator)`
  Waits until the given checkbox/radio button becomes checked.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForChecked(String elementLocator)`
  Waits until the given checkbox/radio button becomes checked.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForClass(String elementLocator, String clazzString)`
  Waits until the given element has the given class(es).
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForClass(String elementLocator, String clazzString)`
  Waits until the given element has the given class(es).
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForElementCount(String elementLocator, int count)`
  Waits until the number of elements found by using the given element locator is equal to the given count.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForElementCount(String elementLocator, String count)`
  Waits until the number of elements found by using the given element locator is equal to the given count.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForElementCount(String elementLocator, int count)`
  Waits until the number of elements found by using the given element locator is equal to the given count.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForElementCount(String elementLocator, String count)`
  Waits until the number of elements found by using the given element locator is equal to the given count.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForElementPresent(String elementLocator)`
  Waits for the given element to appear.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForElementPresent(String elementLocator)`
  Waits for the given element to appear.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForEval(String expression, String textPattern)`
  Waits until the result of evaluating the given expression matches the given text pattern.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForEval(String expression, String textPattern)`
  Waits until the result of evaluating the given expression matches the given text pattern.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForNotAttribute(String attributeLocator, String textPattern)`
  Waits until the value of the attribute identified by the given attribute locator does NOT match the given text pattern.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForNotAttribute(String elementLocator, String attributeName, String textPattern)`
  Waits until the value of the given element and attribute does NOT match the given text pattern.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForNotAttribute(String attributeLocator, String textPattern)`
  Waits until the value of the attribute identified by the given attribute locator does NOT match the given text pattern.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForNotAttribute(String elementLocator, String attributeName, String textPattern)`
  Waits until the value of the given element and attribute does NOT match the given text pattern.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForNotChecked(String elementLocator)`
  Waits until the given checkbox/radio button becomes unchecked.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForNotChecked(String elementLocator)`
  Waits until the given checkbox/radio button becomes unchecked.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForNotClass(String elementLocator, String clazzString)`
  Waits until the given element doesn't have the given class(es).
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForNotClass(String elementLocator, String clazzString)`
  Waits until the given element doesn't have the given class(es).
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForNotElementCount(String elementLocator, int count)`
  Waits until the number of elements found by using the given element locator is unequal to the given count.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForNotElementCount(String elementLocator, String count)`
  Waits until the number of elements found by using the given element locator is unequal to the given count.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForNotElementCount(String elementLocator, int count)`
  Waits until the number of elements found by using the given element locator is unequal to the given count.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForNotElementCount(String elementLocator, String count)`
  Waits until the number of elements found by using the given element locator is unequal to the given count.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForNotElementPresent(String elementLocator)`
  Waits for the given element to disappear.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForNotElementPresent(String elementLocator)`
  Waits for the given element to disappear.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForNotEval(String expression, String textPattern)`
  Waits until the result of evaluating the given expression does NOT match the given text pattern.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForNotEval(String expression, String textPattern)`
  Waits until the result of evaluating the given expression does NOT match the given text pattern.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForNotSelectedId(String selectLocator, String idPattern)`
  Waits until no ID of all selected options of the given select element matches the given pattern.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForNotSelectedId(String selectLocator, String idPattern)`
  Waits until no ID of all selected options of the given select element matches the given pattern.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForNotSelectedIndex(String selectLocator, String indexPattern)`
  Waits until the option of the given select element at the given index is not selected.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForNotSelectedIndex(String selectLocator, String indexPattern)`
  Waits until the option of the given select element at the given index is not selected.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForNotSelectedLabel(String selectLocator, String labelPattern)`
  Waits until no label of all selected options of the given select element matches the given pattern.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForNotSelectedLabel(String selectLocator, String labelPattern)`
  Waits until no label of all selected options of the given select element matches the given pattern.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForNotSelectedValue(String selectLocator, String valuePattern)`
  Waits until no value of all selected options of the given select element matches the given pattern.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForNotSelectedValue(String selectLocator, String valuePattern)`
  Waits until no value of all selected options of the given select element matches the given pattern.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForNotStyle(String elementLocator, String styleText)`
  Waits until the effective style of the element identified by the given element locator does NOT match the given style.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForNotStyle(String elementLocator, String styleText)`
  Waits until the effective style of the element identified by the given element locator does NOT match the given style.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForNotText(String elementLocator, String text)`
  Waits for the given text embedded in the given element to disappear/change.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForNotText(String elementLocator, String text)`
  Waits for the given text embedded in the given element to disappear/change.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForNotTextPresent(String text)`
  Waits for the given text to disappear/change.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForNotTextPresent(String text)`
  Waits for the given text to disappear/change.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForNotTitle(String title)`
  Waits for the given page title change.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForNotTitle(String title)`
  Waits for the given title change.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForNotValue(String elementLocator, String value)`
  Waits for the given value in the given element to disappear/change.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForNotVisible(String elementLocator)`
  Waits until the given element becomes invisible.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForNotVisible(String elementLocator)`
  Waits for the given element to become invisible.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForNotXpathCount(String xpath, int count)`
  Waits for the number of elements matching the given XPath expression change to a different value than the given one.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForNotXpathCount(String xpath, String count)`
  Waits for the number of elements matching the given XPath expression change to a different value than the given one.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForNotXpathCount(String xpath, int count)`
  Waits for the number of elements matching the given XPath expression change to a different value than the given one.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForNotXpathCount(String xpath, String count)`
  Waits for the number of elements matching the given XPath expression change to a different value than the given one.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForPageToLoad()`
  Waits for the page to load.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForPageToLoad()`
  Waits for the page to load.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForSelectedId(String selectLocator, String idPattern)`
  Waits until the ID of at least one selected option of the given select element matches the given pattern.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForSelectedId(String selectLocator, String idPattern)`
  Waits until the ID of at least one selected option of the given select element matches the given pattern.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForSelectedIndex(String selectLocator, String indexPattern)`
  Waits until the option of the given select element at the given index is selected.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForSelectedIndex(String selectLocator, String indexPattern)`
  Waits until the option of the given select element at the given index is selected.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForSelectedLabel(String selectLocator, String labelPattern)`
  Waits until the label of at least one selected option of the given select element matches the given pattern.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForSelectedLabel(String selectLocator, String labelPattern)`
  Waits until the label of at least one selected option of the given select element matches the given pattern.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForSelectedValue(String selectLocator, String valuePattern)`
  Waits until the value of at least one selected option of the given select element matches the given pattern.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForSelectedValue(String selectLocator, String valuePattern)`
  Waits until the value of at least one selected option of the given select element matches the given pattern.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForStyle(String elementLocator, String styleText)`
  Waits until the effective style of the element identified by the given element locator matches the given style.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForStyle(String elementLocator, String styleText)`
  Waits until the effective style of the element identified by the given element locator matches the given style.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForText(String elementLocator, String text)`
  Waits for the given text embedded in the given element.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForText(String elementLocator, String text)`
  Waits for the given text embedded in the given element.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForTextPresent(String text)`
  Waits for the given text to appear.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForTextPresent(String text)`
  Waits for the given text to appear.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForTitle(String title)`
  Waits for the given page title.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForTitle(String title)`
  Waits for the given title.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForValue(String elementLocator, String valuePattern)`
  Waits for the given value in the given element.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForValue(String elementLocator, String value)`
  Waits for the given value in the given element.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForVisible(String elementLocator)`
  Waits until the given element becomes visible.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForVisible(String elementLocator)`
  Waits until the given element becomes visible.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForXpathCount(String xpath, int count)`
  Waits for the number of elements matching the given XPath expression is equal to the given count.
  `protected HtmlPage`
  AbstractHtmlUnitCommandsModule.`waitForXpathCount(String xpath, String count)`
  Waits for the number of elements matching the given XPath expression is equal to the given count.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForXpathCount(String xpath, int count)`
  Waits for the number of elements matching the given XPath expression is equal to the given count.
  `protected HtmlPage`
  AbstractHtmlUnitScriptAction.`waitForXpathCount(String xpath, String count)`
  Waits for the number of elements matching the given XPath expression is equal to the given count.
  Methods in com.xceptance.xlt.api.engine.scripting with parameters of type HtmlPage
  Modifier and Type
  Method
  Description
  `protected abstract HtmlPage`
  AbstractHtmlUnitCommandsModule.`execute(HtmlPage page)`
  Executes the module steps.
  `HtmlPage`
  AbstractHtmlUnitCommandsModule.`run(HtmlPage page)`
  Runs the module.

- ## Uses of HtmlPage in com.xceptance.xlt.api.util

  Methods in com.xceptance.xlt.api.util that return HtmlPage
  Modifier and Type
  Method
  Description
  `static HtmlPage`
  HtmlPageUtils.`getFramePage(HtmlPage page, String... frameNames)`
  Returns the HTML page contained in a nested frame window.
  Methods in com.xceptance.xlt.api.util with parameters of type HtmlPage
  Modifier and Type
  Method
  Description
  `static int`
  HtmlPageUtils.`countElementsByXPath(HtmlPage page, String xpath)`
  Returns the number of elements that match the given XPath expression.
  `static <T extends HtmlElement>
  List<T>`
  HtmlPageUtils.`findHtmlElements(HtmlPage page, String xpath)`
  Finds HTML elements using the given XPath expression on the specified page.
  `static <T> T`
  HtmlPageUtils.`findHtmlElementsAndPickOne(HtmlPage page, String xpath)`
  Finds HTML elements using the given XPath expression on the specified page, selects one of them randomly and returns it.
  `static <T> T`
  HtmlPageUtils.`findHtmlElementsAndPickOne(HtmlPage page, String xpath, boolean excludeFirst)`
  Finds HTML elements using the given XPath expression on the specified page, selects one of them randomly and returns it.
  `static <T extends HtmlElement>
  T`
  HtmlPageUtils.`findHtmlElementsAndPickOne(HtmlPage page, String xpath, boolean excludeFirst, boolean excludeLast)`
  Finds HTML elements using the given XPath expression on the specified page, selects one of them randomly and returns it.
  `static <T extends HtmlElement>
  T`
  HtmlPageUtils.`findSingleHtmlElementByID(HtmlPage page, String id)`
  Finds the HTML element with the given ID on the specified page.
  `static <T extends HtmlElement>
  T`
  HtmlPageUtils.`findSingleHtmlElementByXPath(HtmlPage page, String xpath)`
  Finds a single HTML elements using the given XPath expression on the specified page.
  `static HtmlAnchor`
  HtmlPageUtils.`getAnchorWithText(HtmlPage page, String anchorText)`
  Returns the HTML anchor element with the passed anchor text.
  `static List<HtmlForm>`
  HtmlPageUtils.`getFormsByIDRegExp(HtmlPage page, Pattern pattern)`
  Returns a list of forms the ID of which matches the given regular expression.
  `static List<HtmlForm>`
  HtmlPageUtils.`getFormsByNameRegExp(HtmlPage page, Pattern pattern)`
  Returns a list of forms the name of which matches the given regular expression.
  `static HtmlPage`
  HtmlPageUtils.`getFramePage(HtmlPage page, String... frameNames)`
  Returns the HTML page contained in a nested frame window.
  `static boolean`
  HtmlPageUtils.`isElementPresent(HtmlPage page, String xpath)`
  Returns whether or not a HTML element exists for the given XPath expression.
  `static <T extends HtmlElement>
  List<T>`
  HtmlPageUtils.`waitForHtmlElements(HtmlPage page, String xpath, long timeout)`
  Waits until at least one HTML element can be located on the given page using the specified XPath expression and returns the list of matching elements.

- ## Uses of HtmlPage in com.xceptance.xlt.api.validators

  Methods in com.xceptance.xlt.api.validators with parameters of type HtmlPage
  Modifier and Type
  Method
  Description
  `void`
  ContentLengthValidator.`validate(HtmlPage page)`
  Validates the specified HTML page.
  `void`
  HtmlEndTagValidator.`validate(HtmlPage page)`
  Validates the specified HTML page.
  `void`
  HttpResponseCodeValidator.`validate(HtmlPage page)`
  Validates the specified HTML page.
  `void`
  StandardValidator.`validate(HtmlPage page)`
  The most common validators grouped into one validator to simplify the integration.
  `void`
  XHTMLValidator.`validate(HtmlPage page)`
  Validates the specified HTML page.

- ## Uses of HtmlPage in org.htmlunit

  Methods in org.htmlunit that return HtmlPage
  Modifier and Type
  Method
  Description
  `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.
  `HtmlPage`
  WebClient.`loadHtmlCodeIntoCurrentWindow(String htmlCode)`
  Parses the given XHtml code string and loads the resulting XHtmlPage into the current window.
  Methods in org.htmlunit with parameters of type HtmlPage
  Modifier and Type
  Method
  Description
  `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.
  `void`
  PrintHandler.`handlePrint(HtmlPage page)`
  Handle a call to Window.print().
  `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`
  AjaxController.`processSynchron(HtmlPage page, WebRequest request, boolean async)`
  Gets notified of an AJAX call to determine how it should be processed.
  `boolean`
  NicelyResynchronizingAjaxController.`processSynchron(HtmlPage page, WebRequest settings, boolean async)`
  Resynchronizes calls performed from the thread where this instance has been created.
  Constructors in org.htmlunit with parameters of type HtmlPage
  Modifier
  Constructor
  Description
  ``
  `ScriptException(HtmlPage page, Throwable throwable)`
  Creates an instance.
  ``
  `ScriptException(HtmlPage page, Throwable throwable, String scriptSourceCode)`
  Creates an instance.

- ## Uses of HtmlPage in org.htmlunit.html

  Subclasses of HtmlPage in org.htmlunit.html
  Modifier and Type
  Class
  Description
  `class`
  `XHtmlPage`
  A representation of an XHTML page returned from a server.
  Methods in org.htmlunit.html that return HtmlPage
  Modifier and Type
  Method
  Description
  `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)`
  `HtmlPage`
  FrameWindow.`getEnclosingPage()`
  Returns the HTML page in which the <frame> or <iframe> tag is contained for this frame window.
  `HtmlPage`
  DomNode.`getHtmlPageOrNull()`
  Returns the page that contains this node.
  `HtmlPage`
  HtmlPage.`getPage()`
  Returns the page that contains this node.
  Methods in org.htmlunit.html with parameters of type HtmlPage
  Modifier and Type
  Method
  Description
  `HtmlElement`
  ElementFromPointHandler.`getElementFromPoint(HtmlPage htmlPage, int x, int y)`
  Returns the element for the specified x coordinate and the specified y coordinate.
  `static URL`
  HtmlAnchor.`getTargetUrl(String href, HtmlPage page)`
  INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.