How do you click on a menu item in a drop down menu?



How do you click on a menu item in a drop down menu?..

Answer / Ravi Awasthi

To click on a menu item in a dropdown menu in Selenium, first find the WebElement representing the dropdown (usually using findElementByXPath or findElementById), and then use the click() method on the WebElement representing the menu item.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Selenium Interview Questions

How to change the url on a webpage using selenium web driver?

1 Answers  


What are the performance testing tools?

1 Answers  


How to upload a file in selenium webdriver?

1 Answers  


Who is the best faculty for selenium in twin cities (Hyderabad/secundrabad)

2 Answers   KJL, NA,


How can you find if an element displayed on the screen?

1 Answers  


How to mouse hover on a web element using webdriver?

1 Answers  


How do you handle Multiple windows in your application?

4 Answers   HCL,


How do perform drag and drop using webdriver?

1 Answers  


Tell me could cookies be deleted in selenium?

1 Answers  


Tell me how to verify tooltip text using selenium?

1 Answers  


What’s the difference between borland silk evaluation and selenium?

1 Answers  


How you are integrating cucumber feature files with step files?

1 Answers  


Categories