@Override
 public boolean isAlertPresent() {
   try {
     session.driver().switchTo().alert();
     return true;
   } catch (NoAlertPresentException Ex) {
     return false;
   }
 }
 @Override
 public boolean lookForSomeText(String someText) {
   return session.driver().getPageSource().contains(someText);
 }