CefSharp takes a screenshot of the page

Is it possible to get a screenshot of a webpage using CefSharp? I found information about the method GetImage(), but it looks like it is no longer supported. Is there any other way? I need to get screenshots from the browser outside the screen, so taking a screenshot with the browser displayed is not a solution.

+4
source share
1 answer

I implemented this function in the forked branch https://github.com/ivan-sam/CefSharp . This implementation depends on another commit that fixes the script error https://github.com/cefsharp/CefSharp/issues/445 error , so please clone or download the entire branch.

CefSharp.Wpf.Example , .

WinForms, WPF ElementHost

+2

Source: https://habr.com/ru/post/1547007/


All Articles