mouseover on an image in selenium webdriver ?

can anyone help me out in how to mousehover on an image

I have tried this code but it doesn’t helped me

Actions action = new Actions(driver);
WebElement we = driver.findElement(By.xpath(“//span[@id=’10283′]/img”));
action.moveToElement(we, 15, 15);

Also tried using coordinates

Train Asked on March 11, 2015 in Selenium WebDriver.
Add Comment
  • 0 Answer(s)
  • Your Answer

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