How to perform Mouse Hovering action in Java Selenium?

How does Java Selenium do Mouse Hovering actions?

Hey Rahulr,

You need to initiallize Action class to hover on a selefic element like :

    WebElement element = driver.findElement(By.xpath("<xpath>"));
    Actions action = new Actions(driver);
    // From action class user have to use move To Element to perform the action
    action.moveToElement(element).perform();