Created
February 14, 2019 17:27
-
-
Save seleniumgists/7882cb8da3f33c733a13fa6e0627e6d4 to your computer and use it in GitHub Desktop.
generated automatically from #selenium on seleniumhq slack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List<WebElement> buttons = driver.findElements(By.cssSelector("pfdc-animal-search-filters button")); | |
for (WebElement button : buttons) { | |
if(button.isDisplayed()) { | |
button.click(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment