Package org.fluentlenium.core.domain
Class Component
- java.lang.Object
-
- org.fluentlenium.core.domain.Component
-
- Direct Known Subclasses:
FluentWebElement
public class Component extends java.lang.Object
A component encapsulate a Selenium WebElement, the FluentLenium control interface and FluentLenium instantiator.
-
-
Field Summary
Fields Modifier and Type Field Description protected FluentControl
control
protected ComponentInstantiator
instantiator
protected org.openqa.selenium.WebElement
webElement
-
Constructor Summary
Constructors Constructor Description Component(org.openqa.selenium.WebElement webElement, FluentControl control, ComponentInstantiator instantiator)
Creates a new component
-
-
-
Field Detail
-
webElement
protected org.openqa.selenium.WebElement webElement
-
control
protected FluentControl control
-
instantiator
protected ComponentInstantiator instantiator
-
-
Constructor Detail
-
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
-
-