Closed ghostfreak3000 closed 8 years ago
Try with just var phantom_opts = {webSecurity: false};
. Works for me.
It worked... though that means there's a slight difference between the documented options object and the actual one (WIll bite me in the ass when doing advanced crawling in the future)
Thanks alot!
The Usage code snippet.
produces this error.![selection_003](https://cloud.githubusercontent.com/assets/5859565/13553139/30bbd090-e333-11e5-8fd5-f2ee95613efb.png)
Which is basically a XSS scripting security error. so naturally the solution is to disable web security in nightmare... with this code.
Still produces the same error. Got options structure from here
PS: The phantom process doesn't exit on this error.. not good. anyway we can set it to fail on error?