How to capture the HTML from the open page in Chrome with Delphi?

Asked

Viewed 987 times

2

I need to capture the source code of a given HTML page opened at that time on google Chrome. In Internet Explorer I know how it does, Chrome does not find anything like it. Any suggestions ?

1 answer

1


I suggest trying to create an extension. I believe it is possible to interact with localhost, then you create a server and the extension serves as a client.

Another option, since your focus seems to be Windows, is to try (I don’t know if this is possible) to make the extension interact with the program via "command line".

A third option (easier and less invasive) is to create a bookmarklet.

  • My friend, from all the research I’ve done, I’ve also come to the conclusion that it’s possible to do this just by extension. Now I need to find a way to create an extension that can interact with the command line, you’ve seen some examples of how to create Chrome extensions ?

Browser other questions tagged

You are not signed in. Login or sign up in order to post.