1

The Selenium IDE is able to get information about the recorded controls by subscribing to the events raised by the Firefox browser. This way it is able to write handlers for the subscribed events. Is this correct? Or is it a totally different approach? Could you help us in improving our understanding about this recorder functionality of Selenium IDE?

closed as off-topic by bish, Niels van Reijmersdal, ECiurleo, Helping Hands, Kate Paulk Dec 11 '15 at 14:04

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about software engineering unrelated to testing are off-topic here, but can be asked on Programmers Stack Exchange." – bish, Niels van Reijmersdal, ECiurleo, Helping Hands, Kate Paulk
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 6
    Selenium is open source with masses of documentation. You could just read the code etc to find out how it works. – AdrianHHH Dec 11 '15 at 8:37
  • 2
    We do have the source code for it and did reach till the point where the JavaScript function was getting an event object from Firefox which is unwrapped and used. We weren't able to trace it further from there. This is the point we thought that in the Firefox code there must be a registered Selenium listener which is allowed to listen to Firefox browser events. We weren't able to find specific information among the documentation and thus resorted to ask the community for some hints. – 5Qe Dec 11 '15 at 9:50
  • Update: The code we stopped at is at the following location in the Selenium sources : selenium-master\selenium-master\ide\main\src\content\locatorBuilders.js and reads: LocatorBuilders.prototype.buildAll = function(el) { var e = core.firefox.unwrap(el); – 5Qe Dec 11 '15 at 10:12
  • If you are not able to trace how existing system works, by definition you do not have skills (yet) to build something smarter on top of that system. IOW: your project is too ambitious for your current skill level. Start with fixing some bugs in Se IDE, ask for help (on their forum) to understand how it works. – Peter M. Dec 11 '15 at 17:17
  • 2
    @PeterMasiar, where did the OP wrote he/she wants to build something smarter on top of that system? – dzieciou Dec 14 '15 at 6:14

Browse other questions tagged or ask your own question.