Too Long; Didn't Read
Selenium Webdriver offers an interface called the WebElement which is responsible for all the possible interaction that takes place in a the web page. Selenium has an API that helps to find these web elements and take subsequent actions on them like selecting a value or entering some text. This article will help you understand how you can access forms in Selenium to automate browser testing of your web application. The syntax for findElements() is as shown below:List<WebElement> ele = driver.findElements( By.xpath( ---xpath---);
Share Your Thoughts