120121122123124125126
} @Override public IdLocator assignId(ElementLocator<?> elementLocator, String identifier) { selenium.assignId(elementLocator.inSeleniumRepresentation(), identifier); return new IdLocator(identifier); }
173174175176177178179
* * @param id the @id attribute's value * @return the locator with specified @id attribute */ public static IdLocator id(String id) { return new IdLocator(id); }
172173174175176177178
121122123124125126127
116117118119120121122
selenium.answerOnNextPrompt(answer); } public IdLocator assignId(ElementLocator<?> elementLocator, String identifier) { selenium.assignId(elementLocator.getAsString(), identifier); return new IdLocator(identifier); }
181182183184185186187
* @param id * the @id attribute's value * @return the locator with specified @id attribute */ public static IdLocator id(String id) { return new IdLocator(id); }
182183184185186187188