Question
GE
GB
Last activity: 13 Jun 2017 14:31 EDT
Unable to select dropdown WebElement with Selenium
Hi all,
I'm currently facing an issue when attempting to select a value from a dropdown in our Pega application using Selenium. It appears to select the correct value, but then immediately reverts to the default and therefore the pop up which is supposed to appear does not.
Has anyone faced this issue before? I'm using the following code to select:
Select updateDropdown = new Select(driver.findElement(By.id("DropdownID")));
updateDropdown.selectByValue("Update");