Package io.fluentlenium.core.domain
Class Component
java.lang.Object
io.fluentlenium.core.domain.Component
- Direct Known Subclasses:
FluentWebElement
A component encapsulate a Selenium WebElement, the FluentLenium control interface and
FluentLenium instantiator.
-
Field Summary
Modifier and TypeFieldDescriptionprotected FluentControl
protected ComponentInstantiator
protected org.openqa.selenium.WebElement
-
Constructor Summary
ConstructorDescriptionComponent
(org.openqa.selenium.WebElement webElement, FluentControl control, ComponentInstantiator instantiator) Creates a new component -
Method Summary
-
Field Details
-
webElement
protected org.openqa.selenium.WebElement webElement -
control
-
instantiator
-
-
Constructor Details
-
Component
public Component(org.openqa.selenium.WebElement webElement, FluentControl control, ComponentInstantiator instantiator) Creates a new component- Parameters:
webElement
- Selenium elementcontrol
- FluentLenium control interfaceinstantiator
- FluentLenium instantiator
-