Thursday, August 7, 2014

Selenium WebDriver - Iterate a list of WebElements

Selenium WebDriver - Iterate a list of WebElements

Below links will help you in your struggle to iterate through the list of WebElements in order to act on elements that it finds, e.g. you might need to simply print those or perform some action on those WebElements.

1. How to iterate a list of WebElements and print the values one by one to perform some action. [Link]
2. How do you iterate a list of WebElements using Selenium2/WebDriver to perform an action on some elements. [Link]
3. Iterator in selenium WebDriver. [Link]
4. Junit - using for loop to iterate through WebElements. [Link]
5. How To Iterate Table Using Selenium WebDriver. [Link]
6. How to Click a Link by href value in WebDriver. [Link]
7. Verify list elements by Selenium WebDriver. [Link]
8. Accessing Links & Tables using Selenium WebDriver. [Link]