# Uses of Class
org.htmlunit.ElementNotFoundException

Packages that use ElementNotFoundException
Package
Description
org.htmlunit.html
Classes specific to HTML pages, particularly the `HtmlPage` which represents an HTML document and provides access to its content.

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

  Methods in org.htmlunit.html that throw ElementNotFoundException
  Modifier and Type
  Method
  Description
  `<P extends Page>
  P`
  HtmlImageInput.`click(int x, int y)`
  Simulate clicking this input with a pointing device.
  `HtmlAnchor`
  HtmlPage.`getAnchorByHref(String href)`
  Returns the `HtmlAnchor` with the specified href.
  `HtmlAnchor`
  HtmlPage.`getAnchorByName(String name)`
  Returns the `HtmlAnchor` with the specified name.
  `HtmlAnchor`
  HtmlPage.`getAnchorByText(String text)`
  Returns the first anchor with the specified text.
  `HtmlButton`
  HtmlForm.`getButtonByName(String name)`
  Returns the first `HtmlButton` element in this form that has the specified name.
  `<E extends DomElement>
  E`
  HtmlPage.`getElementByName(String name)`
  Returns the element with the specified name.
  `HtmlForm`
  HtmlPage.`getFormByName(String name)`
  Returns the first form that matches the specified name.
  `FrameWindow`
  HtmlPage.`getFrameByName(String name)`
  Returns the first frame contained in this page with the specified name.
  `<E extends HtmlElement>
  E`
  HtmlPage.`getHtmlElementById(String elementId)`
  Returns the HTML element with the specified ID.
  `final <I extends HtmlInput>
  I`
  HtmlForm.`getInputByName(String name)`
  Returns the first input element which is a member of this form and has the specified name.
  `<I extends HtmlInput>
  I`
  HtmlForm.`getInputByValue(String value)`
  Returns the first input in this form with the specified value.
  `final <E extends HtmlElement>
  E`
  HtmlElement.`getOneHtmlElementByAttribute(String elementName, String attributeName, String attributeValue)`
  Searches for an element based on the specified criteria, returning the first element which matches said criteria.
  `HtmlOption`
  HtmlSelect.`getOptionByText(String text)`
  Returns the `HtmlOption` object that has the specified text.
  `HtmlOption`
  HtmlSelect.`getOptionByValue(String value)`
  Returns the `HtmlOption` object that corresponds to the specified value.
  `final HtmlTableRow`
  HtmlTable.`getRowById(String id)`
  Finds and return the row with the specified id.
  `HtmlSelect`
  HtmlForm.`getSelectByName(String name)`
  Returns the first `HtmlSelect` element in this form that has the specified name.
  `HtmlTextArea`
  HtmlForm.`getTextAreaByName(String name)`
  Returns the first `HtmlTextArea` element in this form that has the specified name.