I am unable to add see or use the extension scripts I have added.
The test.js is a Javascript file which is below. However, I am unable to find TypeRepeated in my commands.
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);
};
Thanks for your help!