public interface ExecuteCDPCommand extends ExecutesMethod
Modifier and Type | Method and Description |
---|---|
default java.util.Map<java.lang.String,java.lang.Object> |
executeCdpCommand(java.lang.String command)
Allows to execute ChromeDevProtocol commands against Android Chrome browser session without parameters.
|
default java.util.Map<java.lang.String,java.lang.Object> |
executeCdpCommand(java.lang.String command,
java.util.Map<java.lang.String,java.lang.Object> params)
Allows to execute ChromeDevProtocol commands against Android Chrome browser session.
|
execute, execute
default java.util.Map<java.lang.String,java.lang.Object> executeCdpCommand(java.lang.String command, @Nullable java.util.Map<java.lang.String,java.lang.Object> params)
command
- Command to execute against the browser (For Ref : https://chromedevtools.github.io/devtools-protocol/)params
- additional parameters required to execute the commandorg.openqa.selenium.WebDriverException
- if there was a failure while executing the commanddefault java.util.Map<java.lang.String,java.lang.Object> executeCdpCommand(java.lang.String command)
command
- Command to execute against the browser (For Ref : https://chromedevtools.github.io/devtools-protocol/)org.openqa.selenium.WebDriverException
- if there was a failure while executing the command