IBrowserHostExecuteDevToolsMethod(Int32, String, String) Method |
Version 130.1.90
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 paramsAsJson dictionary contents.
See the SendDevToolsMessage documentation for additional usage information.
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax int ExecuteDevToolsMethod(
int messageId,
string method,
string paramsAsJson
)
int ExecuteDevToolsMethod(
int messageId,
String^ method,
String^ paramsAsJson
)
Parameters
- messageId Int32
- is an incremental number that uniquely identifies the message (pass 0 to have the next number assigned
automatically based on previous values)
- method String
- is the method name
- paramsAsJson String
- are the method parameters represented as a JSON string,
which may be empty.
Return Value
Int32return the assigned message Id if called on the CEF UI thread and the message was
successfully submitted for validation, otherwise 0
See Also