Keyword driven approach query – Mouse hover

I am using keyword driven approach and trying click a drop-down but before clicking it has to be Hovered.
i want to re-use my action keywords method, which already have a click method.
Kindly help me with this issue.

to better explain it , i am giving the steps what actually i am trying to do.

1) Login to :- http://store.demoqa.com/
2) Hover to Product Category and click iphones link.

Any leads will be helpful.

Default Asked on April 19, 2016 in Selenium WebDriver.
Add Comment
  • 1 Answer(s)

    Hi,
    You can separately define hover method or
    can modify the click method to hover and click….

    Default Answered on April 20, 2016.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.