Does the Selenium FindBy instantiate WebElement instances in a PageObject class?
问题 Does the Selenium FindBy annotation actually instantiate WebElement instances, and if so, what is the connotation to the framework that uses them? What I have been doing in my page objects looks like this right now. All my test framework methods take By locators as arguments (not WebElement instances). //fields in the page public static final By SEARCH_BOX = By.id("input-what"); My question is, does using FindBy instantiate WebElement instances at the time of class instantiation? If so, then