Click or drag to resize

DevToolsExtensions Class

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

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

The DevToolsExtensions type exposes the following members.

Methods
 NameDescription
Public Extension MethodExecuteDevToolsMethod 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 Extension MethodExecuteDevToolsMethodAsync(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 Extension MethodExecuteDevToolsMethodAsync(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 Extension MethodGetDevToolsClient(IBrowser) Gets a new Instance of the DevTools client
Public Extension MethodGetDevToolsClient(IChromiumWebBrowserBase) Gets a new Instance of the DevTools client for the chromiumWebBrowser instance.
Public Extension MethodSetMainFrameDocumentContentAsync(IBrowser, String) Set the Document Content for the Main Frame using DevTools Protocol.
Public Extension MethodSetMainFrameDocumentContentAsync(IChromiumWebBrowserBase, String) Set the Document Content for the Main Frame using DevTools Protocol.
Top
See Also