Forum Discussion

leahey's avatar
leahey
Occasional Contributor
11 years ago
Solved

Get actual page source, including comments?

Greetings,  How best to get access to the entirety of a web page's source, including non-html elements prior to the <html> tag?  We're embedding some comments into our page source that o...
  • TanyaYatskovska's avatar
    11 years ago

    Hi Robert,


     


    Last time, I missed the fact that the comments are located outside the html tag in your case.


    I don't see other options except saving the web page to html or txt and reading the first lines in the file.


    Saving the page should be possible via Page("*").Keys("^S").