Open veterkh opened 6 years ago
Parser eats the text, off course captureContent is set to [ '/.NO_SPACE*NO_SPACE/' ] just remove NO_SPACE
Ok, the reason of empty body was too stupid. Just need to remove single quotes , cause we need to bypass clear JS regex in array, like this: [ /./ ]. And by the way, proper way to set captureContent settings is the following: casper.page.captureContent = [ /./ ] and put it AFTER casper.start(); not obvious, really
@veterkh Does your last message mean that your problem is fixed?
versions
Steps to reproduce the issue
I'm using casperjs with slimerjs in order to retrieve response body, cause phantomjs didn't support it. I'm bit confused where to place captureContent property, and tried all the variants, but still can't get body of response in callback.
Run it in the following way:
Actual results:
Expected results:
Js files was given for example, in test workaround.