Gripper.WebClient
Gripper.WebClient.IWebClient
IWebClient.ExecuteCdpCommandAsync(string, JToken) Method
Tunnels a CDP command directly to the CDP client endpoint.
System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JToken> ExecuteCdpCommandAsync(string commandName, Newtonsoft.Json.Linq.JToken commandParams);
Parameters
commandName
System.String
Name of the command, e.g. ‘Page.navigate’. https://chromedevtools.github.io/devtools-protocol/
commandParams
Newtonsoft.Json.Linq.JToken
Returns
System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JToken>
A System.Threading.Tasks.Task that represents the command execution.
Remarks
Implementations should execute the command literally (no validation), and pass the result unmodified.