示例#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;
 }
示例#2
0
 /**
  * Wrapper for the WebElement method "get()".
  *
  * @return true if .get() method return element.
  */
 public boolean isPresent() {
   return (control.get() != null);
 }
示例#3
0
 /**
  * Wrapper for the WebElement method "isDisplayed".
  *
  * @return true, if displayed or false if not
  */
 public boolean isDisplayed() {
   return control.isDisplayed();
 }
示例#4
0
 /**
  * Wrapper for the WebElement method "getText()".
  *
  * @return text
  */
 public String getText() {
   return control.getText();
 }