Click or drag to resize

DevToolsClient.ExecuteDevToolsMethodAsync Method (String, IDictionary<String, Object>)

Version 94.4.20
Execute a method call over the DevTools protocol. 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.

Namespace:  CefSharp.DevTools
Assembly:  CefSharp (in CefSharp.dll) Version: 94.4.20.0 (94.4.20.0)
Syntax
public Task<DevToolsMethodResponse> ExecuteDevToolsMethodAsync(
	string method,
	IDictionary<string, Object> parameters = null
)

Parameters

method
Type: System.String
is the method name
parameters (Optional)
Type: System.Collections.Generic.IDictionary<String, Object>
are the method parameters represented as a dictionary, which may be empty.

Return Value

Type: Task<DevToolsMethodResponse>
return a Task that can be awaited to obtain the method result
See Also