Class CheckBoxes
- java.lang.Object
-
- com.github.loyada.jdollarx.singlebrowser.highlevelapi.CheckBoxes
-
public final class CheckBoxes extends Object
High-level wrapper to define a checkbox input. High level API's are not optimized. A definition of an element may interact with the browser to understand the structure of the DOM.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CheckBox
checkboxForInput(Path inputEl, String name)
input of type "checkbox" for a specific input elementstatic CheckBox
checkBoxWithLabel(String labelText)
input of type "checkbox" with a labelstatic CheckBox
checkBoxWithProperties(ElementProperty... props)
input of type "checkbox" with the given properties
-
-
-
Method Detail
-
checkBoxWithLabel
public static CheckBox checkBoxWithLabel(String labelText)
input of type "checkbox" with a label- Parameters:
labelText
- - the text in the label- Returns:
- a high level instance of CheckBox
-
checkboxForInput
public static CheckBox checkboxForInput(Path inputEl, String name)
input of type "checkbox" for a specific input element- Parameters:
inputEl
- - the input elementname
- - an optional name- Returns:
- a high level instance of CheckBox
-
checkBoxWithProperties
public static CheckBox checkBoxWithProperties(ElementProperty... props)
input of type "checkbox" with the given properties- Parameters:
props
- properties of the checkbox- Returns:
- a high level instance of CheckBox
-
-