in my web page, i am trying to select an option from drop
for that i am trying with
Select selectBox = new
Select(Globals.driver.findElement(By.xpath("XPATH of the dropdown")));
selectBox.selectByValue("value to select");
but this is giving following error:
org.openqa.selenium.support.ui.UnexpectedTagNameException: Element should
have been "select" but was "input"
Can anybody please suggest what is wrong with my code, or any
more info is required to debug..
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to email@example.com.
For more options, visit https://groups.google.com/groups/opt_out.