DevToolsClientExecuteDevToolsMethodAsync(String, IDictionaryString, Object) Method |
Version 130.1.90
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.DevToolsAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<DevToolsMethodResponse> ExecuteDevToolsMethodAsync(
string method,
IDictionary<string, Object> parameters = null
)
public:
Task<DevToolsMethodResponse^>^ ExecuteDevToolsMethodAsync(
String^ method,
IDictionary<String^, Object^>^ parameters = nullptr
)
Parameters
- method String
- is the method name
- parameters IDictionaryString, Object (Optional)
- are the method parameters represented as a dictionary,
which may be empty.
Return Value
TaskDevToolsMethodResponsereturn a Task that can be awaited to obtain the method result
See Also