diff options
Diffstat (limited to 'testbench-api/src')
-rw-r--r-- | testbench-api/src/main/java/com/vaadin/testbench/elements/RadioButtonGroupElement.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testbench-api/src/main/java/com/vaadin/testbench/elements/RadioButtonGroupElement.java b/testbench-api/src/main/java/com/vaadin/testbench/elements/RadioButtonGroupElement.java index 30952c1e00..67df824fbd 100644 --- a/testbench-api/src/main/java/com/vaadin/testbench/elements/RadioButtonGroupElement.java +++ b/testbench-api/src/main/java/com/vaadin/testbench/elements/RadioButtonGroupElement.java @@ -41,6 +41,16 @@ public class RadioButtonGroupElement extends AbstractSingleSelectElement { return optionTexts; } + /** + * Gets the list of option elements for this check box group. + * + * @return list of option elements + * @since + */ + public List<WebElement> getOptionElements() { + return findElements(bySelectOption); + } + public void selectByText(String text) throws ReadOnlyException { if (isReadOnly()) { throw new ReadOnlyException(); |