How to get PlainText & Content HTML of web page?


#1

How can I get the content of the web page (main frame) as

  • plain text (no element tags!) (like PhantomJS property: page.plainText)
  • content with element tags (like PhantomJS property: page.content)

Thanks,

Christian.