org.openqa.selenium.support
Annotation Type FindAll


@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface FindAll

Used to mark a field on a Page Object to indicate that lookup should use a series of @FindBy tags It will then search for all elements that match any of the FindBy criteria. Note that elements are not guaranteed to be in document order. Eg:

 @FindAll({@FindBy(how = How.ID, using = "foo"),
           @FindBy(className = "bar")})
 


Required Element Summary
 FindBy[] value
           
 

Element Detail

value

public abstract FindBy[] value


Copyright © 2013. All rights reserved.