This syntax is extended in AjaxSelenium by new filters similar to :contains(text)
194195196197198199200
* @param jquerySelector the jquery selector * @return the j query locator * @see JQueryLocator */ public static JQueryLocator jq(String jquerySelector) { return new JQueryLocator(jquerySelector); }
193194195196197198199
4243444546474849505152
Iterable<JQueryLocator> rows; rows = LOC_TABLE.getChildren(jq("tr")); for (JQueryLocator row : rows) { final JQueryLocator column2 = row.getDescendant(LOC_LINK); String text = selenium.getText(column2); System.out.println(text); }
204205206207208209210
* the jquery selector * @return the j query locator * @see JQueryLocator */ public static JQueryLocator jq(String jquerySelector) { return new JQueryLocator(jquerySelector); }
205206207208209210211