public class RadioButtonGroupElement extends TestBenchElement implements HasSelectByText
<vaadin-radio-button-group>
element.Constructor and Description |
---|
RadioButtonGroupElement() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getOptions()
Gets a list of all available options.
|
String |
getSelectedText()
Gets the text of the currently selected option.
|
void |
selectByText(String text)
Selects the first option matching the given text.
|
callFunction, clear, click, click, compareScreen, compareScreen, compareScreen, contextClick, dispatchEvent, doubleClick, equals, executeScript, findElement, findElements, focus, getAttribute, getCapabilities, getClassNames, getCommandExecutor, getContext, getCssValue, getDriver, getLocation, getProperty, getPropertyBoolean, getPropertyDouble, getPropertyElement, getPropertyElements, getPropertyInteger, getPropertyString, getRect, getScreenshotAs, getSize, getTagName, getText, getWrappedElement, hasAttribute, hasClassName, hashCode, init, init, isChrome, isDisplayed, isEnabled, isFirefox, isIE, isSelected, scroll, scrollIntoView, scrollLeft, sendKeys, setProperty, setProperty, setProperty, setProperty, submit, waitForVaadin, waitUntil, waitUntil, wrap, wrapElement, wrapElements
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
$, $
public List<String> getOptions()
public void selectByText(String text)
HasSelectByText
selectByText
in interface HasSelectByText
text
- the text of the option to selectpublic String getSelectedText()
HasSelectByText
getSelectedText
in interface HasSelectByText
Copyright © 2019. All rights reserved.