Example #1
0
 /**
  * Method gets text from ControlWrapper objects.
  *
  * @return List text from ControlWrapper objects.
  */
 public List<String> getTextList() {
   List<String> textList = new ArrayList<String>(controlList.size());
   for (ControlWrapper controlWrapper : controlList) {
     textList.add(controlWrapper.getText());
   }
   return textList;
 }
 /**
  * Wrapper for the WebElement method "get()".
  *
  * @return true if .get() method return element.
  */
 public boolean isPresent() {
   return (control.get() != null);
 }
 /**
  * Wrapper for the WebElement method "isDisplayed".
  *
  * @return true, if displayed or false if not
  */
 public boolean isDisplayed() {
   return control.isDisplayed();
 }
 /**
  * Wrapper for the WebElement method "getText()".
  *
  * @return text
  */
 public String getText() {
   return control.getText();
 }