Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. QA Testing
  3. Question
QA Testing

How to perform mouse- over function in Selenium WebDriver using Java?

Asked by Ajith Jayaraman Dec 16, 2024 886 views 1 answer
Share

About this question

I want to perform mouse-over on the dropdown. The hovering of the cursor over the menu displays some options. I tried clicking the options directly using their Xpath but it failed to work as I expected. On the other hand, I prefer to mimic the real operation: move the pointer to the dropdown menu which shows the options and then click on the desired one. How can this be done in Selenium Web Driver with Java?

Your answer

1 Answer

More QA Testing discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest QA Testing Blogs

Guides, tips and career advice on QA Testing from JanBask experts.