Exemplo n.º 1
0
 /** $(".selector").val("string"); */
 public static SeleniumQueryObject val(
     SeleniumQueryObject seleniumQueryObject, List<WebElement> elements, String value) {
   for (WebElement element : elements) {
     val(seleniumQueryObject.getWebDriver(), element, value);
   }
   return seleniumQueryObject;
 }
 public static WebElement[] toArray(SeleniumQueryObject seleniumQueryObject) {
   List<WebElement> elements = seleniumQueryObject.get();
   return elements.toArray(new WebElement[elements.size()]);
 }