DevToolsClientExecuteDevToolsMethodAsync Method |
Version 85.3.121
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: 85.3.121.0 (85.3.121.0)
Syntax public Task<DevToolsMethodResponse> ExecuteDevToolsMethodAsync(
string method,
IDictionary<string, Object> parameters = null
)
public:
virtual Task<DevToolsMethodResponse^>^ ExecuteDevToolsMethodAsync(
String^ method,
IDictionary<String^, Object^>^ parameters = nullptr
) sealed
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.
Return Value
Type:
TaskDevToolsMethodResponsereturn a Task that can be awaited to obtain the method result
Implements
IDevToolsClientExecuteDevToolsMethodAsync(String, IDictionaryString, Object)See Also