Tuesday, 28 April 2015

Learn Selenium-WebDriver with Core Java. : Print the menu and submenu option of espncricinfo.com

Learn Selenium-WebDriver with Core Java. : Print the menu and submenu option of espncricinfo.com: Menu Name- "+mainMenuName);             String xpath = "//div[@id='mainNav']//td[contains(@



Scroll Function Without Using Actions Class

java code :

                     for(int i=0;i<10;i++)
                    {
                             driver.findElement(By.tagName("body")).sendKeys(Keys.DOWN);
}
Thanks,
Subbu