Example #1
0
 /**
  * Method to override selenium focus method. This waits for given element to present for 60
  * seconds Once it gets that element, it focuses on that. Otherwise it fails the assertion.
  *
  * @param element Locator for element
  */
 public void focus(String element) {
   assertTrue("Element " + element + " not found", waitForElementPresent(element), selenium);
   selenium.focus(element);
 }