Click or drag to resize

IDevToolsClientExecuteDevToolsMethodAsyncT Method

Version 118.6.80
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.Core (in CefSharp.Core.dll) Version: 118.6.80.0
Syntax
Task<T> ExecuteDevToolsMethodAsync<T>(
	string method,
	IDictionary<string, Object> parameters = null
)
where T : DevToolsDomainResponseBase

Parameters

method
Type: SystemString
is the method name
parameters (Optional)
Type: System.Collections.GenericIDictionaryString, Object
are the method parameters represented as a dictionary, which may be empty.

Type Parameters

T
The type to which the method result will be deserialzed to.

Return Value

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