Uses of Class
org.htmlunit.ElementNotFoundException
Packages that use ElementNotFoundException
Package
Description
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 ElementNotFoundExceptionModifier and TypeMethodDescription<P extends Page>
PHtmlImageInput.click
(int x, int y) Simulate clicking this input with a pointing device.HtmlPage.getAnchorByHref
(String href) Returns theHtmlAnchor
with the specified href.HtmlPage.getAnchorByName
(String name) Returns theHtmlAnchor
with the specified name.HtmlPage.getAnchorByText
(String text) Returns the first anchor with the specified text.HtmlForm.getButtonByName
(String name) Returns the firstHtmlButton
element in this form that has the specified name.<E extends DomElement>
EHtmlPage.getElementByName
(String name) Returns the element with the specified name.HtmlPage.getFormByName
(String name) Returns the first form that matches the specified name.HtmlPage.getFrameByName
(String name) Returns the first frame contained in this page with the specified name.<E extends HtmlElement>
EHtmlPage.getHtmlElementById
(String elementId) Returns the HTML element with the specified ID.final <I extends HtmlInput>
IHtmlForm.getInputByName
(String name) Returns the first input element which is a member of this form and has the specified name.<I extends HtmlInput>
IHtmlForm.getInputByValue
(String value) Returns the first input in this form with the specified value.final <E extends HtmlElement>
EHtmlElement.getOneHtmlElementByAttribute
(String elementName, String attributeName, String attributeValue) Searches for an element based on the specified criteria, returning the first element which matches said criteria.HtmlSelect.getOptionByText
(String text) Returns theHtmlOption
object that has the specified text.HtmlSelect.getOptionByValue
(String value) Returns theHtmlOption
object that corresponds to the specified value.final HtmlTableRow
HtmlTable.getRowById
(String id) Finds and return the row with the specified id.HtmlForm.getSelectByName
(String name) Returns the firstHtmlSelect
element in this form that has the specified name.HtmlForm.getTextAreaByName
(String name) Returns the firstHtmlTextArea
element in this form that has the specified name.