Phantomjs On Linux Returns Empty Html Source
we´d like to use phantomjs to connect to a our internal documentation system and print the source code of the website for further usage. The script is basically from the examples:
Solution 1:
It's the SSL certificate issue. You included the correct switches to ignore ssl errors, but not at the right place. PhantomJS setting switches are to go before the script path:
phantomjs --ssl-protocol=any --ignore-ssl-errors=true script.js
Post a Comment for "Phantomjs On Linux Returns Empty Html Source"