Closed MalcolmK closed 9 years ago
Hey,
In CasperJS it is possible to add handlers for http status codes. But I'm not sure how to do this when using mocha-casperjs, because you are not creating a new casper object.
Regards,
Malcolm Kindermans
Can you not add your handlers to casper.options.httpStatusHandlers before any test runs?
casper.options.httpStatusHandlers
Reopen if setting casper.options.httpStatusHandlers doesn't work for you.
Hey,
In CasperJS it is possible to add handlers for http status codes. But I'm not sure how to do this when using mocha-casperjs, because you are not creating a new casper object.
Regards,
Malcolm Kindermans