Package org.fluentlenium.core.action
Class Fill<E extends FluentWebElement>
- java.lang.Object
-
- org.fluentlenium.core.action.BaseFill<E>
-
- org.fluentlenium.core.action.Fill<E>
-
- Type Parameters:
E
- type of elements to fill
public class Fill<E extends FluentWebElement> extends BaseFill<E>
Default form filling features.Documentation can also be found at the FluentLenium website at Locators / Filling Forms.
-
-
Constructor Summary
Constructors Constructor Description Fill(E element)
Creates a new fill from a single element.Fill(FluentList<E> list)
Creates a new fill from a list of elements.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Fill
with(java.lang.String... textValues)
Fills the underlying elements with the provided texts.Fill
withText(java.lang.String... textValues)
Fills the underlying elements with the provided texts.-
Methods inherited from class org.fluentlenium.core.action.BaseFill
getElements
-
-
-
-
Constructor Detail
-
Fill
public Fill(FluentList<E> list)
Creates a new fill from a list of elements.- Parameters:
list
- list of elements to fill
-
Fill
public Fill(E element)
Creates a new fill from a single element.- Parameters:
element
- element to fill
-
-
Method Detail
-
with
public Fill with(java.lang.String... textValues)
Fills the underlying elements with the provided texts.- Parameters:
textValues
- value to search- Returns:
- this Fill instance
- See Also:
FluentList.write(String...)
,FluentWebElement.write(String...)
-
withText
public Fill withText(java.lang.String... textValues)
Fills the underlying elements with the provided texts.Synonym for
with(String...)
.- Parameters:
textValues
- value to search- Returns:
- this Fill instance
-
-