Package org.openqa.selenium.support
Annotation Type FindBys
-
@Retention(RUNTIME) @Target({FIELD,TYPE}) public @interface FindBys
Used to mark a field on a Page Object to indicate that lookup should use a series of @FindBy tags in a chain as described inByChained
It can be used on a types as well, but will not be processed by default.
Eg:
@FindBys({@FindBy(id = "foo"), @FindBy(className = "bar")})
-
-
Element Detail
-
value
FindBy[] value
-
-