A
A
Alena2015-02-11 14:08:44
Java
Alena, 2015-02-11 14:08:44

Dropdown list in selenium ide?

When you click on the field, a list of cities appears. I need to find any city and select it.
Help!((

driver.findElement(By.id("cityFieldR")).click();
    Select dropdown=new Select((WebElement) By.id("cityFieldR"));
    dropdown.selectByValue("Ангарск");

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question