Package com.vaadin.testbench.elements
Class OptionGroupElement
- java.lang.Object
-
- com.vaadin.testbench.AbstractHasTestBenchCommandExecutor
-
- com.vaadin.testbench.TestBenchElement
-
- com.vaadin.testbench.elementsbase.AbstractElement
-
- com.vaadin.testbench.elements.AbstractComponentElement
-
- com.vaadin.testbench.elements.AbstractFieldElement
-
- com.vaadin.testbench.elements.AbstractSelectElement
-
- com.vaadin.testbench.elements.OptionGroupElement
-
- All Implemented Interfaces:
com.vaadin.testbench.commands.CanCompareScreenshots,com.vaadin.testbench.commands.CanWaitForVaadin,com.vaadin.testbench.commands.TestBenchElementCommands,com.vaadin.testbench.HasDriver,com.vaadin.testbench.HasSearchContext,com.vaadin.testbench.HasTestBenchCommandExecutor,org.openqa.selenium.SearchContext,org.openqa.selenium.TakesScreenshot,org.openqa.selenium.WebElement,org.openqa.selenium.WrapsElement
@Deprecated public class OptionGroupElement extends AbstractSelectElement
Deprecated.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vaadin.testbench.elements.AbstractComponentElement
AbstractComponentElement.ReadOnlyException
-
-
Constructor Summary
Constructors Constructor Description OptionGroupElement()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclear()Deprecated.Clear operation is not supported for Option Group.List<String>getOptions()Deprecated.StringgetValue()Deprecated.Return value of the selected option in the option group.voidselectByText(String text)Deprecated.voidsetValue(CharSequence chars)Deprecated.Select option in the option group with the specified value.-
Methods inherited from class com.vaadin.testbench.elements.AbstractFieldElement
clearElementClientSide, clientSelectElement
-
Methods inherited from class com.vaadin.testbench.elements.AbstractComponentElement
getCaption, getHTML, getStyleAttribute, isReadOnly
-
Methods inherited from class com.vaadin.testbench.TestBenchElement
click, click, clickHiddenElement, compareScreen, compareScreen, compareScreen, contextClick, doubleClick, equals, findElement, findElements, focus, getAccessibleName, getAriaRole, getAttribute, getCapabilities, getClassNames, getCommandExecutor, getContext, getCssValue, getDomAttribute, getDriver, getId, getLocation, getRect, getScreenshotAs, getShadowRoot, getSize, getTagName, getText, getWrappedElement, hasAttribute, hasClassName, hashCode, init, init, isChrome, isDisplayed, isEnabled, isFirefox, isFocused, isSelected, scroll, scrollIntoView, scrollLeft, sendKeys, showTooltip, submit, waitForVaadin, waitUntil, waitUntil, wrap, wrapElement, wrapElements
-
Methods inherited from class com.vaadin.testbench.AbstractHasTestBenchCommandExecutor
$, $$, isElementPresent, isElementPresent
-
-
-
-
Method Detail
-
selectByText
public void selectByText(String text) throws AbstractComponentElement.ReadOnlyException
Deprecated.
-
getValue
public String getValue()
Deprecated.Return value of the selected option in the option group.- Returns:
- value of the selected option in the option group
-
setValue
public void setValue(CharSequence chars) throws AbstractComponentElement.ReadOnlyException
Deprecated.Select option in the option group with the specified value.- Parameters:
chars- value of the option in the option group which will be selected- Throws:
AbstractComponentElement.ReadOnlyException
-
clear
public void clear()
Deprecated.Clear operation is not supported for Option Group. This operation has no effect on Option Group element.- Specified by:
clearin interfaceorg.openqa.selenium.WebElement- Overrides:
clearin classAbstractSelectElement
-
-