Modifier and Type | Method and Description |
---|---|
Form |
Form.apply(Object... args)
Applies the specified parameters in succession to the form's editable (ie, visible and non-disabled) inputs, starting from the input after the most recently edited input, or starting from the first input, if the form has not yet been edited.
|
Form |
Document.apply(Object... args)
Locates the first form in the document that has a large enough number of input fields to accommodate the number of args and then applies the specified parameters in succession to the form's editable (ie, visible and non-disabled) inputs, starting from the input after the most recently edited input, or starting from the first input, if the form has not yet been edited.
|
Form |
Form.chooseCheckBox(String label)
Selects the checkbox that has the specified text label on the right side.
|
Form |
Form.chooseCheckBox(String label,
Form.LabelSide labelSide)
Selects the checkbox with the specified text label.
|
Form |
Form.chooseMenuItem(String label,
String menuItemText)
Locates the dropdown menu that has the specified text label and selects the menuItem that matches the specified menuItemText.
|
Form |
Form.chooseRadioButton(String label)
Selects the radiobutton that has the specified text label on the right side.
|
Form |
Form.chooseRadioButton(String label,
Form.LabelSide labelSide)
Selects the radiobutton with the specified text label.
|
Form |
Document.getForm(Element formElement) |
Form |
Document.getForm(int formIndex)
Creates and returns a Form object to represent the HTML form denoted by the specified formIndex.
|
Form |
Document.getForm(String tagQuery)
Returns an instance of class Form for the first form in the document that is matched by the specified tagQuery.
|
Form |
Document.getForm(org.openqa.selenium.WebElement formElement) |
Form |
Document.getFormByButtons(String... buttonText)
Returns a Form object for the first form Element in the document that contains buttons who's text/values are matched (case insensitive, whitespace-normalized) by the specified text, or throws a NotFound Exception.
|
Form |
Form.setFieldValue(String label,
String value)
Locates the textfield, password field, or textarea field that has the specified text label and fills the field with the specified text value.
|
Form |
Form.unchooseCheckBox(String label)
Deselects the checkbox that has the specified text label on the right side.
|
Form |
Form.unchooseCheckBox(String label,
Form.LabelSide labelSide)
Deselects the checkbox with the specified text label.
|
Form |
Form.unchooseRadioButton(String label)
Deselects the radiobutton that has the specified text label on the right side.
|
Form |
Form.unchooseRadioButton(String label,
Form.LabelSide labelSide)
Deselects the radiobutton with the specified text label.
|