Friday, April 13, 2012

MouseOver method in WebDriver

Use below method for mouseover action in WebDriver

public void mouseOver(WebDriver driver,WebElement element) throws Exception
{
new Actions(driver).moveToElement(element).perform();
}




No comments:

Post a Comment

Note: Only a member of this blog may post a comment.