Created by Wang, Jerry, last modified on Sep 09, 2013

  • implement interface Element
  • final WebUIElement annotation = this.getClass().getAnnotation(

    WebUIElement.class);

tagType = annotation.type();
hookTagType = annotation.hookTagType();
WebElement element = session.getSearchContext().findElement(by);
Copy the code