by terrarium » Wed Nov 24, 2021 4:39 am
In the Cefsharp.winforms.example, there're two AddTab methods, one for popup and the other for traditional new tab(e.g. click a link with pressing Shift key ). The previous one, handled a CefSharp.WinForms.Host.ChromiumHostControl object while the other one creates new ChromiumWebBrowser(). But only the ChromiumWebBrowser object can do a lot work, so How can I get the new popup page's internal browser reference for, for instance, run scripts, get source codes, etc.? I can't use ChromiumHostControl as ChromiumWebBrowser . In the example, the popup window can't read source code or zoom due to this.