Skip to content

Instantly share code, notes, and snippets.

@isaulv
Created January 27, 2012 20:25
Show Gist options
  • Select an option

  • Save isaulv/1690742 to your computer and use it in GitHub Desktop.

Select an option

Save isaulv/1690742 to your computer and use it in GitHub Desktop.
List<WebElement> instructions = driver.findElements(By.className("instructions-1"));
for (WebElement element: instructions) {
element.getText();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment