FindBy annotation used to find a list of WebElements
As of 2.29.0 of the .NET bindings, this is now no longer true. The FindsBy
attribute now will find individual elements or collections of elements. Note that the collection field or property decorated by the FindsBy
attribute must be of type IWebElement
or IList<IWebElement>
in order to be populated by the PageFactory
. Any other type will throw an exception.