Package io.appium.java_client
Interface ExecuteCDPCommand
- All Superinterfaces:
ExecutesMethod
- All Known Implementing Classes:
AndroidDriver,FlutterAndroidDriver
-
Method Summary
Modifier and TypeMethodDescriptionexecuteCdpCommand(String command) Allows to execute ChromeDevProtocol commands against Android Chrome browser session without parameters.executeCdpCommand(String command, @Nullable Map<String, Object> params) Allows to execute ChromeDevProtocol commands against Android Chrome browser session.Methods inherited from interface io.appium.java_client.ExecutesMethod
execute, execute
-
Method Details
-
executeCdpCommand
Allows to execute ChromeDevProtocol commands against Android Chrome browser session.- Parameters:
command- Command to execute against the browser (For Ref : https://chromedevtools.github.io/devtools-protocol/)params- additional parameters required to execute the command- Returns:
- Value (Output of the command execution)
- Throws:
org.openqa.selenium.WebDriverException- if there was a failure while executing the command- Since:
- Appium 1.18
-
executeCdpCommand
Allows to execute ChromeDevProtocol commands against Android Chrome browser session without parameters.- Parameters:
command- Command to execute against the browser (For Ref : https://chromedevtools.github.io/devtools-protocol/)- Returns:
- Value (Output of the command execution)
- Throws:
org.openqa.selenium.WebDriverException- if there was a failure while executing the command- Since:
- Appium 1.18
-