Пример #1
0
 /**
  * Set the text elelent
  *
  * @param text
  */
 public FluentWebElement text(String... text) {
   clear();
   if (text.length != 0) {
     webElement.sendKeys(text[0]);
   }
   return this;
 }
Пример #2
0
 /**
  * Clear the given parameters elements that are in the list Be careful - only the visible elements
  * are cleared
  *
  * @param fluentObject
  */
 public Fluent clear(FluentWebElement fluentObject) {
   fluentObject.clear();
   return this;
 }