Appium CDP Driver
Appium CDP Driver is a W3C WebDriver that allows you to connect to chromium based android mobile browsers like chrome & samsung browser through any WebDriver client.
Installation
Install cdp-driver
(if not installed)
appium driver install --source npm appium-cdp-driver
Run Appium
LOCAL_PROTOCOL=true appium server -pa /wd/hub --use-drivers=cdp-driver
Capabilities
Appium Capabilities
Capability | Required | Type | Description |
---|
appium:automationName | + | string | Must be CDP |
appium:browserName | + | string | Must be chrome or Terrace |
W3C Capabilities
Capability | Required | Type | Description |
---|
platformName | + | string | Must be android |
Commands