While working with Pages in FluentLenium @FindBy can be used to locate a FluentWebElement:
@FindBy(id = "one")
FluentWebElement exactlyOne;
This works perfectly fine. But now I need to locate multiple elements:
@FindBy(tagName = "p")
List<FluentWebElement> allP;
I cannot make this to work. I tried declaring the field as: List, FluentList even List but I always get null.
I am using: Selenium: 2.46.0, FluentLenium: 0.10.3