You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
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.
The text was updated successfully, but these errors were encountered: