Apologies if this is a dumb question - I\'m new to Selenium.
I have a web page I\'m testing that has a few hypertext links in a table. The HTML looks like this:
You can gather all the links together by using findElements and then iterate through the array.
findElements
Example - List inputs = driver.findElements(By.xpath("//input"));
List inputs = driver.findElements(By.xpath("//input"));
and in your case
List links = driver.findElements(By.linkText("Show"));
and then iterate through links and click on each one of them
links