node-phantom-simple
node-phantom-simple copied to clipboard
Fix onLoadFinished sometimes being called with wrong arguments
With SlimerJS, onLoadFinished was called with an array of the arguments as the first argument, instead of actually receiving multiple arguments. This fixes that.
There was already a test for onLoadFinished, but I changed to it fail like it should for the above scenario.
ping