Automating axis bank website : <p>I am trying to select Accounts that come under Products heading using Actions. Although it should have been done easily but i am unable to do same. Can anyone please help.</p>

<pre><code>    [Account under Product heading][1]
    driver.get("http://www.axisbank.com/");
    Thread.sleep(2000);
    Actions action=new Actions(driver);
    WebElement account=driver.findElement(By.xpath("//*[@id='product-menu']/div[2]/div/div/ul[1]/li[1]/a"));
    WebElement prod=driver.findElement(By.xpath("html/body/form/div[5]/div[1]/div[3]/div/div[1]/div[2]/div/div/ul[1]/li[1]/a"));
    action.moveToElement(prod).build().perform();
    Thread.sleep(2000);
    action.moveToElement(account).click().perform();
</code></pre>
