Closed maxkfranz closed 8 years ago
When generating the report:
phantom stdout: NETWORK_ERR: XMLHttpRequest Exception 101: A network error occurred in synchronous requests. phantom stdout: phantomjs://code/shim.js:1815 in send phantom stdout: phantomjs://code/shim.js:1815 in _start phantom stdout: phantomjs://code/shim.js:1842 phantom stdout: NETWORK_ERR: XMLHttpRequest Exception 101: A network error occurred in synchronous requests. phantom stdout: phantomjs://code/shim.js:1815 in send phantom stdout: phantomjs://code/shim.js:1815 in _start phantom stdout: phantomjs://code/shim.js:1842
The phantom package should be updated to v2: https://github.com/amir20/phantomjs-node
phantom
In v2, options can be set to disable CORS checks: http://stackoverflow.com/questions/15913170/phantom-js-synchronous-ajax-request-network-err-xmlhttprequest-exception-101
e.g.:
phantom.create(['--web-security=no', '--ignore-ssl-errors=yes']).then(...)
When generating the report:
The
phantom
package should be updated to v2: https://github.com/amir20/phantomjs-nodeIn v2, options can be set to disable CORS checks: http://stackoverflow.com/questions/15913170/phantom-js-synchronous-ajax-request-network-err-xmlhttprequest-exception-101
e.g.: