How to select a value from a drop-down?
Answer / dileep kumar
by using select keyword we can select a value from dropdown box
select select = new select (driver.findelement(by.xpath(" xpath")));
select.selectbyindex(2);
select.selectbyvalue(2);
| Is This Answer Correct ? | 0 Yes | 0 No |
How to get an attribute value using selenium webdriver?
What is the difference between driver.close() and driver.quit command?
What are the important selenium ide commands or selenese commands?
What is selenium-rc (remote control) ?
How do you verify if the checkbox/radio is checked or not?
Tell me what kind of mouse actions can be performed in selenium?
What programing language is most useful for creating selenium evaluations?
What is the difference between implicit wait and explicit wait?
Firefox driver is class or an interface and from where is it inherited?
What is the difference between “/” and “XPath //”?
How to switch between frames in selenium?
I am not able to use "style" attribute to locate element with ie browser?