cefsharp/CefSharp.Dom

Make browser.GetPuppeteerPageAsync obsolete

amaitland opened this issue · 1 comments

  • Renamed Page to DevToolsContext
  • Added obsolete Page class that inherits from DevToolsContext for backwards compatibility

CefSharp.Puppeteer.DevToolsContext will replace CefSharp.Puppeteer.Page as the main entry point. I think overall this makes more sense as the concept of a Page is a little strange in the context of CefSharp.

//use the following instead
var devToolsContext = await chromiumWebBrowser.GetDevToolsContextAsync()

Resolved in commit 430dd02

This should be backwards compatible.