code: public boolean isTextPresentInPage(final String text) {
  		WebElement body = driver.findElement(By.tagName("body"));
  		return body.getText().contains(text);
  	}
docs: Checks for presence of the text in a html page.
  
  @param text
  the text to be searched for
  @return true if the text is present within the page or false otherwise