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.
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It only takes a minute to sign up.
Sign up to join this communityList 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.
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.