uillian.extension.arquillian-drone-selenium-server.2.0.0.CR1.source-code.simple-extension.js Maven / Gradle / Ivy
Selenium.prototype.doTypeRepeated = function(locator, text) {
// All locator-strategies are automatically handled by "findElement"
var element = this.page().findElement(locator);
// Create the text to type
var valueToType = text + text;
// Replace the element text with the new text
this.page().replaceText(element, valueToType);
};