Click or drag to resize

DevToolsExtensions Class

Version 109.1.110
Extensions for accessing DevTools through IBrowserHost
Inheritance Hierarchy
SystemObject
  CefSharpDevToolsExtensions

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 109.1.110.0 (109.1.110.0)
Syntax
public static class DevToolsExtensions

The DevToolsExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberExecuteDevToolsMethod
Execute a method call over the DevTools protocol. This is a more structured version of SendDevToolsMessage. See the DevTools protocol documentation at https://chromedevtools.github.io/devtools-protocol/ for details of supported methods and the expected parameters JSON message format. See the SendDevToolsMessage documentation for additional usage information.
Public methodStatic memberExecuteDevToolsMethodAsync(IBrowser, Int32, String, IDictionaryString, Object)
Execute a method call over the DevTools protocol. This is a more structured version of SendDevToolsMessage. ExecuteDevToolsMethod(IBrowserHost, Int32, String, JsonString) can only be called on the CEF UI Thread, this method can be called on any thread. See the DevTools protocol documentation at https://chromedevtools.github.io/devtools-protocol/ for details of supported methods and the expected parameters dictionary contents. See the SendDevToolsMessage documentation for additional usage information.
Public methodStatic memberExecuteDevToolsMethodAsync(IChromiumWebBrowserBase, Int32, String, IDictionaryString, Object)
Execute a method call over the DevTools protocol. This is a more structured version of SendDevToolsMessage. ExecuteDevToolsMethod(IBrowserHost, Int32, String, JsonString) can only be called on the CEF UI Thread, this method can be called on any thread. See the DevTools protocol documentation at https://chromedevtools.github.io/devtools-protocol/ for details of supported methods and the expected parameters dictionary contents. See the SendDevToolsMessage documentation for additional usage information.
Public methodStatic memberGetDevToolsClient(IBrowser)
Gets a new Instance of the DevTools client
Public methodStatic memberGetDevToolsClient(IChromiumWebBrowserBase)
Gets a new Instance of the DevTools client for the chromiumWebBrowser instance.
Public methodStatic memberSetMainFrameDocumentContentAsync(IBrowser, String)
Set the Document Content for the Main Frame using DevTools Protocol.
Public methodStatic memberSetMainFrameDocumentContentAsync(IChromiumWebBrowserBase, String)
Set the Document Content for the Main Frame using DevTools Protocol.
Top
See Also