I just started using Selenium.
Is it possible to find event handlers attached to an HTML element by selenium? The handler (for example handler for onclick of a button) may be attached on-the-fly by addEventListener.
I just started using Selenium.
Is it possible to find event handlers attached to an HTML element by selenium? The handler (for example handler for onclick of a button) may be attached on-the-fly by addEventListener.
Finally we did it. We used Selenuim + PhantomJS. Using phantom, we get then DOM of the page, inject and execute visual event parsers on the page, store events list on the page and return them by another javascript call through phantom.