Showing posts with label mouse over. Show all posts
Showing posts with label mouse over. Show all posts

Wednesday 12 June 2013

MouseOver commands for Webdriver...

Try with below code.

         Actions builder = new Actions(driver);
        WebElement xpathElement = driver.findElement(By.xpath("xxxxxx"));
        builder.moveToElement(xpathElement).build().perform();
        driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
        driver.findElement(By.xpath("xxxx")).click();