Пример #1
0
 public HomePage openHomePage() {
   Log4Test.info("Open home page.");
   driver.get(URL);
   return this;
 }
Пример #2
0
 public boolean isOpened() {
   Log4Test.info("Check that home page is open.");
   return driver.getCurrentUrl().equals(URL);
 }