Getting Webpage Contents from ChromiumWebBrowser Control

Having problems with building or using the CefSharp .NET binding? Ask your CEF-related questions here. Please ask general usage questions on StackOverflow.

Moderator: amaitland

Getting Webpage Contents from ChromiumWebBrowser Control

Postby jalway » Mon Jun 06, 2022 7:07 pm

Hello,

I wanted to ask if you can get the contents of a ChromiumWebBrowser control, by which I mean the contents of a webpage or webchat out of the browser by some some existing function or method in the control. I have the control in Windows Forms .Net Framework 4.6. I'm using C# in VisualStudio. I want to do this and continually take snapshots every second or so.

I can get the contents by clicking on a page, doing a "Crtrl+A" to select all and then a "Ctrl+C" to copy to the Windows clipboard, but I wanted to find a more efficient way of doing it.

Thanks for any help.

Regards,
...John
jalway
Newbie
 
Posts: 1
Joined: Sat Jun 04, 2022 8:52 pm

Re: Getting Webpage Contents from ChromiumWebBrowser Control

Postby amaitland » Tue Jun 07, 2022 8:49 pm

Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1290
Joined: Wed Jan 14, 2015 2:35 am


Return to CefSharp Forum

Who is online

Users browsing this forum: No registered users and 17 guests