Package | Description |
---|---|
com.gargoylesoftware.htmlunit.html |
Classes specific to html pages
|
Modifier and Type | Method and Description |
---|---|
Page |
HtmlInput.click(int x,
int y)
Simulate clicking this input with a pointing device.
|
Page |
HtmlImageInput.click(int x,
int y)
Simulate clicking this input with a pointing device.
|
void |
HtmlForm.fakeCheckedRadioButton(String name,
String value)
Deprecated.
after 1.11
|
HtmlAnchor |
HtmlPage.getAnchorByHref(String href)
Return the
HtmlAnchor with the specified href |
HtmlAnchor |
HtmlPage.getAnchorByName(String name)
Return the HtmlAnchor with the specified name
|
HtmlButton |
HtmlForm.getButtonByName(String name)
Find the first button element with the specified name.
|
List |
HtmlForm.getButtonsByName(String name)
Return all the HtmlButtons that match the specified name
|
HtmlAnchor |
HtmlPage.getFirstAnchorByText(String text)
Return the first anchor that contains the specified text.
|
HtmlForm |
HtmlPage.getFormByName(String name)
Return 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.
|
HtmlElement |
HtmlElement.getHtmlElementById(String id)
Return the html element with the specified id.
|
HtmlElement |
HtmlPage.getHtmlElementById(String id)
Returns the HTML element with the specified ID.
|
HtmlInput |
HtmlForm.getInputByName(String name)
Return the first input with the specified name
|
HtmlInput |
HtmlForm.getInputByValue(String value)
Return the first input with the specified value.
|
HtmlElement |
HtmlElement.getOneHtmlElementByAttribute(String elementName,
String attributeName,
String attributeValue)
Search by the specified criteria and return the first HtmlElement that is found
|
HtmlOption |
HtmlSelect.getOptionByValue(String value)
Return the HtmlOption object that corresponds to the specified value
|
HtmlRadioButtonInput |
HtmlForm.getRadioButtonInput(String name,
String value)
Deprecated.
Deprecated because 'name' and 'value' are sometimes not unique to select a single
HtmlRadioButtonInput, it should not be called,
you can use
DomNode.getByXPath(String) instead. |
HtmlTableRow |
HtmlTable.getRowById(String id)
Find and return the row with the specified id.
|
HtmlSelect |
HtmlForm.getSelectByName(String name)
Find the first select element with the specified name
|
HtmlTextArea |
HtmlForm.getTextAreaByName(String name)
Find the first textarea element with the specified name.
|
void |
HtmlForm.setCheckedRadioButton(String name,
String value)
Deprecated.
Deprecated because 'name' and 'value' are sometimes not unique to select a single
HtmlRadioButtonInput, it should not be called,
you can use
DomNode.getByXPath(String) instead. |
Page |
HtmlForm.submit(String buttonName)
Deprecated.
after 1.11, click on the specific
SubmittableElement instead. |
Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.