Giving access to the PhantomJS sendEvent method from testing tools.