I've been working on enhancing the functionality of the selenium IDE through custom functions. I successfully added my custom functions to user-extensions.js and they work as expected within the IDE. However, I encountered issues when trying to export the new function. My plan was to integrate it with the existing C#/Nunit/Webdriver format by adding and copying the code from the cs-wd.js file into my new format, saving it, and restarting Firefox. But every time I try to use the new format, I get a JavaScript error saying: "an error occured: ReferenceError: Equals is not defined"
Equals.prototype.toString = function() {
return this.e1.toString() + " == " + this.e2.toString();
};
Does anyone have any suggestions on how to resolve this issue?