コード例 #1
0
 /**
  * Default implementation of pageLoadHook().
  *
  * <p>Just verify the page identifier Locator is present on the DOM.
  *
  * @param page
  * @param a
  */
 public void defaultPageLoadHook(Page page, SeleniumActions a) {
   By pageIdentifier = page.getPageIdentifier();
   if (pageIdentifier != null) {
     a.verifyElementPresented(pageIdentifier, TimeoutType.PAGE_LOAD_TIMEOUT);
   }
 }