Question: how to select value from dropdown in selenium by index?
Answer: Select Option By Index In WebDriver It will select 1st element(index = 0) from select box of software web application page. Select listbox = new Select(driver. findElement(By. xpath("//select[@name='FromLB']"))); listbox.