DevToolsExtensions Class (original) (raw)

Version 118.6.80

Extensions for accessing DevTools through IBrowserHost

Inheritance Hierarchy

Namespace: CefSharp
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 118.6.80.0

Syntax

public static class DevToolsExtensions

[ExtensionAttribute] public ref class DevToolsExtensions abstract sealed

The DevToolsExtensions type exposes the following members.

Methods

| | Name | Description | | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Public methodStatic member | ExecuteDevToolsMethod | 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 member | ExecuteDevToolsMethodAsync(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 member | ExecuteDevToolsMethodAsync(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 member | GetDevToolsClient(IBrowser) | Gets a new Instance of the DevTools client | | Public methodStatic member | GetDevToolsClient(IChromiumWebBrowserBase) | Gets a new Instance of the DevTools client for the chromiumWebBrowser instance. | | Public methodStatic member | SetMainFrameDocumentContentAsync(IBrowser, String) | Set the Document Content for the Main Frame using DevTools Protocol. | | Public methodStatic member | SetMainFrameDocumentContentAsync(IChromiumWebBrowserBase, String) | Set the Document Content for the Main Frame using DevTools Protocol. |

Top

See Also

Reference