Running the code in PhantomJS might bring source code instead of page (the screenshot from that is generated using
The reason of that is because the file has encoding UTF-8 with BOM. You’ll need to convert encoding to UTF-8 without BOM. After that the page is rendered properly.
Leave a Reply