how to use action method in eclipse in mousehover

I have used Action method in eclipse selenium webdrive in eclipse. but at each time i execute the script error is recording in the logs as “moveto did not match a known command”  how to fix this??

Default Asked on November 8, 2016 in Selenium WebDriver.
Add Comment
  • 1 Answer(s)
    Actions act = new Actions(driver);
    act.moveToElement(webelement); //webelement on which you want to move cursor
    Default Answered on November 8, 2016.
    Add Comment
  • Your Answer

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