-1
List val=driver.findElements(By.xpath("//div[@class='ui basic button floating item dropdown']//div//a"));

is not identifying through webdriver. But this xpath perfectly recognizing at chrome browser.

| improve this question | | | | |
0

Please verify it within the chrome console with the following command:

$x("yourxpat")

This will show you how many elements are you getting, i know some friends uses the find by option instead of the console and they only show one by one and if it finds multiple it will fail.

| improve this answer | | | | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.