Feb 15
Selenium Interview Question 4 – Difference Between @FindBy and findElement() Method in Selenium WebDriver
We can locate web element/s on a webpage using both FindBy and findElement() or findElements(). Primary purpose of both ways is same but the way it is done, is different. Below are the differences between FindBy and findElement in Selenium WebDriver: FindBy is an annotation while findElement and findElements are methods. Remember FindBy is provided […]