public abstract class AbstractSingleSeleniumElement extends Object implements SingleWebElementBased
WebElement
management. Implementors are not forced to use this base class as they
might implement SingleWebElementBased
by themselves.Constructor and Description |
---|
AbstractSingleSeleniumElement() |
Modifier and Type | Method and Description |
---|---|
org.openqa.selenium.WebElement |
getWebElement()
Returns the web element this tapir element is based on
|
void |
setWebElement(org.openqa.selenium.WebElement webElement)
Sets Selenium's
WebElement . |
public org.openqa.selenium.WebElement getWebElement()
getWebElement
in interface SingleWebElementBased
public void setWebElement(org.openqa.selenium.WebElement webElement)
SingleWebElementBased
WebElement
. This facilitates the element to interact with the Selenium WebDriver API.setWebElement
in interface SingleWebElementBased
webElement
- the web element to be setCopyright © 2018–2021 b+m Informatik AG. All rights reserved.