Running the code in PhantomJS might bring source code instead of page (the screenshot from that is generated using page.render);

output_utf8_with_bom

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.

output_utf8_without_bom

Comments

You can leave a response, or trackback from your own site.

Before you add comment see for rules.

Leave a Reply

Your email address will not be published. Required fields are marked *

9y4r7f