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 | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| | 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. |
|
| 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. |
|
| 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. |
|
| GetDevToolsClient(IBrowser) | Gets a new Instance of the DevTools client |
|
| GetDevToolsClient(IChromiumWebBrowserBase) | Gets a new Instance of the DevTools client for the chromiumWebBrowser instance. |
|
| SetMainFrameDocumentContentAsync(IBrowser, String) | Set the Document Content for the Main Frame using DevTools Protocol. |
|
| SetMainFrameDocumentContentAsync(IChromiumWebBrowserBase, String) | Set the Document Content for the Main Frame using DevTools Protocol. |
See Also