@FindBy selenium tesing code example
Example 1: @findby selenium
PageFactory.initElements(driver, this);
Example 2: @findby selenium
@FindBy(how = How.ID, using = "elementid")
private WebElement element;
PageFactory.initElements(driver, this);
@FindBy(how = How.ID, using = "elementid")
private WebElement element;