Package de.bmiag.tapir.selenium.element
Class AbstractMultiSeleniumElement
- java.lang.Object
-
- de.bmiag.tapir.selenium.element.AbstractMultiSeleniumElement
-
- All Implemented Interfaces:
MultiWebElementBased
,TapirElement
- Direct Known Subclasses:
DefaultSeleniumCheckboxGroup
,DefaultSeleniumRadioButtonGroup
public abstract class AbstractMultiSeleniumElement extends java.lang.Object implements MultiWebElementBased
Abstract base class to provideWebElement
management. Implementors are not forced to use this base class as they might implementMultiWebElementBased
by themselves.- Since:
- 2.0.0
- Author:
- Oliver Libutzki <[email protected]>
-
-
Constructor Summary
Constructors Constructor Description AbstractMultiSeleniumElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<org.openqa.selenium.WebElement>
getWebElements()
Returns the web elements this tapir element is based onvoid
setWebElements(java.util.List<org.openqa.selenium.WebElement> webElements)
Sets Selenium'sWebElement
s.
-
-
-
Method Detail
-
getWebElements
public java.util.List<org.openqa.selenium.WebElement> getWebElements()
Returns the web elements this tapir element is based on- Specified by:
getWebElements
in interfaceMultiWebElementBased
- Returns:
- the web elements this tapir element is based on
- Since:
- 2.0.0
-
setWebElements
public void setWebElements(java.util.List<org.openqa.selenium.WebElement> webElements)
Description copied from interface:MultiWebElementBased
Sets Selenium'sWebElement
s. This facilitates the element to interact with the Selenium WebDriver API.- Specified by:
setWebElements
in interfaceMultiWebElementBased
- Parameters:
webElements
- the web elements to be set
-
-