Tag Archives: jquery

PhantomjsDriver Geb with Jquery click events throwing error workaround

When moving to phantomjs from using Geb with a browser you will find that some click events do not fire and give you an error.  I have not investigated this thoroughly on what works and what fails.

Tested Config:
Geb: 0.6.3
Phantomjs: 1.9.1
Jquery: 1.7.1
phantomjsdriver: 1.0.4

The problem I had was   $(“.SUBMIT_BUTTON”).click() will not always work and give you the following error:

Error: cannot access member `resetOneShotCallbacks’ of deleted QObject


Continue reading