@findby in selenium code example
Example 1: @findby selenium
PageFactory.initElements(driver, this);
Example 2: @findby selenium
@FindBy(how = How.CLASS_NAME, using = "classname")
private List<WebElement> singlecriterion;
Example 3: @findby selenium
@FindBy(how = How.ID, using = "elementid")
private WebElement element;