Linked Questions

Popular Questions

how to select dropdown value

Asked by At

The error is that the dropdown value wasn't selected

WebElement dropDownListBox = driver.findElement(By.xpath("/html/body/div[4]/div[3]/div/ui-view/div/div[2]/div/div[7]/tahaluf-select/div/div[1]/div/a/span[3]/b"));
dropDownListBox.click();
Select clickThis = new Select(dropDownListBox);
clickThis.selectByVisibleText("INDIA");

Related Questions