Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

How to find all links in the page

All the link TagName should be "a". 
I locate the webelements starts with tagname "a". 
I also use driver.findElements instead of driver.findElement since the 
list of webelements will return.
List list = driver.findElements(By.tagName(“a”));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #find #links #page
ADD COMMENT
Topic
Name
8+2 =