Package org.openqa.selenium.support

Annotation Interface FindBys


@Retention(RUNTIME)@Target({FIELD,TYPE})public @interfaceFindBys
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")})
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details