## Uses of Class
com.gargoylesoftware.htmlunit.ElementNotFoundException

Packages that use ElementNotFoundException
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 ElementNotFoundException in com.gargoylesoftware.htmlunit.html

Methods in com.gargoylesoftware.htmlunit.html that throw ElementNotFoundException

`

`<P extends Page> P`

`

`HtmlImageInput.click(int x, int y)`
Simulate clicking this input with a pointing device.

`

`<P extends Page> P`

`

`HtmlInput.click(int x, int y)`
Simulate clicking this input with a pointing device.

`HtmlAnchor` `HtmlPage.getAnchorByHref(java.lang.String href)` Returns the `HtmlAnchor` with the specified href.
`HtmlAnchor` `HtmlPage.getAnchorByName(java.lang.String name)` Returns the `HtmlAnchor` with the specified name.
`HtmlAnchor` `HtmlPage.getAnchorByText(java.lang.String text)` Returns the first anchor with the specified text.
`HtmlButton` `HtmlForm.getButtonByCaption(java.lang.String caption)`
`HtmlButton` `HtmlForm.getButtonByName(java.lang.String name)` Returns the first `HtmlButton` element in this form that has the specified name.

`

`<E extends HtmlElement> E`

`

`HtmlElement.getElementById(java.lang.String id)`
Returns the element in this element's page with the specified ID.

`

`<E extends HtmlElement> E`

`

`HtmlPage.getElementByName(java.lang.String name)`
Returns the HTML element with the specified name.

`HtmlAnchor` `HtmlPage.getFirstAnchorByText(java.lang.String text)` Deprecated. As of 2.6, please use `HtmlPage.getAnchorByText(String)` instead
`HtmlForm` `HtmlPage.getFormByName(java.lang.String name)` Returns the first form that matches the specified name.
`FrameWindow` `HtmlPage.getFrameByName(java.lang.String name)` Returns the first frame contained in this page with the specified name.

`

`<E extends HtmlElement> E`

`

`HtmlPage.getHtmlElementById(java.lang.String id)`
Returns the HTML element with the specified ID.

`

`<E extends HtmlElement> E`

`

`HtmlPage.getHtmlElementById(java.lang.String id, boolean caseSensitive)`
Returns the HTML element with the specified ID.

`

`<I extends HtmlInput> I`

`

`HtmlForm.getInputByName(java.lang.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(java.lang.String value)`
Returns the first input in this form with the specified value.

`

`<E extends HtmlElement> E`

`

`HtmlElement.getOneHtmlElementByAttribute(java.lang.String elementName, java.lang.String attributeName, java.lang.String attributeValue)`
Searches for an element based on the specified criteria, returning the first element which matches said criteria.

`HtmlOption` `HtmlSelect.getOptionByText(java.lang.String text)` Returns the `HtmlOption` object that has the specified text.
`HtmlOption` `HtmlSelect.getOptionByValue(java.lang.String value)` Returns the `HtmlOption` object that corresponds to the specified value.
`HtmlTableRow` `HtmlTable.getRowById(java.lang.String id)` Finds and return the row with the specified id.
`HtmlSelect` `HtmlForm.getSelectByName(java.lang.String name)` Returns the first `HtmlSelect` element in this form that has the specified name.
`HtmlSubmitInput` `HtmlForm.getSubmitButton()` Gets the first <input type="submit"> element in this form.
`java.util.List<HtmlSubmitInput>` `HtmlForm.getSubmitButtons()` Returns all the <input type="submit"> elements in this form.
`HtmlTextArea` `HtmlForm.getTextAreaByName(java.lang.String name)` Returns the first `HtmlTextArea` element in this form that has the specified name.

Copyright © 2002-2011 Gargoyle Software Inc.. All Rights Reserved.