Constructor and Description |
---|
RadioButton(Page parentValue,
org.openqa.selenium.By locatorValue)
Default constructor which binds page the control belongs to and the locator to
find the element on page.
|
Modifier and Type | Method and Description |
---|---|
RadioButton |
check()
Sets check mark on the object if it's not already checked.
|
Editable |
setValue(java.lang.String value)
Common method for setting values.
|
addSubItems, element, element, get, getDriver, getFormat, getItemLocatorText, getLocator, getLocatorText, getParent, getRect, getScrollDirection, getScrollTo, getText, getValue, is, isExcludeFromSearch, perform, scrollTo, setExcludeFromSearch, setFormat, setItemLocatorText, setScrollDirection, setScrollTo, verify, waitUntil
public RadioButton(Page parentValue, org.openqa.selenium.By locatorValue)
parentValue
- the instance of the page class containing current control.locatorValue
- the string used to locate current control.public RadioButton check()