I want to know how can i verify whether a text is present in a page. I would like to verify whether "Google.co.in offered in" is present in the page
static WebDriver driver= new FirefoxDriver();
public void test() {
driver.manage().window().maximize();
driver.get("http:google.co.in/");
}
Do there any alternate to looking in page source?