I am having an issue clicking on a dropdown and selecting a value. I’ve tried using xpath with contains and other options but no luck… Here’s what I’ve so far.
By eld = By.xpath("//*[@class='android.widget.Spinner' and contains(@content-desc,'None')]");
WebElement dropdown = wait.until(ExpectedConditions.elementToBeClickable(eld));
dropdown.click();
When I try to perform dropdown.click() nothing happens. How do I click on the dropdown so I could choose a value from it? Thanks.