0

I didn't get any output file (image) when trying to execute render_multi_url.js in phantomjs or slimerjs for some url like:

www.tamasoft.co.jp/en/general-info/unicode.html
www.bbc.co.uk

I am using the latest version of both phantomjs and slimerjs. render_multi_url.js is the original script shipped with phantomjs. Under slimerjs I get no image at all and under phantomjs I get partial image (over 9mb). Why do I get this behavior?

So what I need to change or improve to get this script working on any web page?

Artjom B.
  • 61,146
  • 24
  • 125
  • 222
alioui
  • 11
  • 1

1 Answers1

0

The root cause of the issue, that SSL3 (used by default in P-js) was changed to TLS1 (or better use 'any'). To fix that you should specify the SslProtocol option.

This is the way for c#:

var service = PhantomJSDriverService.CreateDefaultService(driverPath);
service.SslProtocol = "any"

In command line you can use

--ssl-protocol='any'
Dmitry
  • 86
  • 5