{"id":18258388,"url":"https://github.com/appiumtestdistribution/appium-cdp-driver","last_synced_at":"2026-03-14T16:01:38.851Z","repository":{"id":48240992,"uuid":"514908823","full_name":"AppiumTestDistribution/appium-cdp-driver","owner":"AppiumTestDistribution","description":"Appium CDP Driver is a W3C WebDriver that allows you to connect to chromium based android mobile browsers like chrome \u0026 samsung browser through any WebDriver client.","archived":false,"fork":false,"pushed_at":"2022-07-28T11:24:15.000Z","size":358,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-27T13:47:52.222Z","etag":null,"topics":["appium","appium-android","chrome","devtools","devtools-protocol"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AppiumTestDistribution.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-17T17:21:12.000Z","updated_at":"2025-01-25T20:35:07.000Z","dependencies_parsed_at":"2022-08-28T21:23:58.069Z","dependency_job_id":null,"html_url":"https://github.com/AppiumTestDistribution/appium-cdp-driver","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AppiumTestDistribution%2Fappium-cdp-driver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AppiumTestDistribution%2Fappium-cdp-driver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AppiumTestDistribution%2Fappium-cdp-driver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AppiumTestDistribution%2Fappium-cdp-driver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AppiumTestDistribution","download_url":"https://codeload.github.com/AppiumTestDistribution/appium-cdp-driver/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247229506,"owners_count":20905064,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["appium","appium-android","chrome","devtools","devtools-protocol"],"created_at":"2024-11-05T10:30:47.678Z","updated_at":"2026-03-14T16:01:38.845Z","avatar_url":"https://github.com/AppiumTestDistribution.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Appium CDP Driver\n\nAppium CDP Driver is a W3C WebDriver that allows you to connect to chromium based android mobile browsers like chrome \u0026 samsung browser through any WebDriver client.\n\n## Sponsors\n\n\u003cdiv align=\"center\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/AppiumTestDistribution/appium-cdp-driver/refs/heads/main/src/assets/White_512px.png\"\u003e\n    \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://raw.githubusercontent.com/AppiumTestDistribution/appium-cdp-driver/refs/heads/main/src/assets/Black_512px.png\"\u003e\n    \u003cimg alt=\"Sponsor Logo\" src=\"https://raw.githubusercontent.com/AppiumTestDistribution/appium-cdp-driver/refs/heads/main/src/assets/Black_512px.png\" width=\"200\"\u003e\n  \u003c/picture\u003e\n\u003c/div\u003e\n\n## Installation\n\nInstall `cdp-driver` (if not installed)\n\n```sh\nappium driver install --source npm appium-cdp-driver\n```\n\nRun Appium\n\n```sh\nLOCAL_PROTOCOL=true appium server -pa /wd/hub --use-drivers=cdp-driver\n```\n\n## Capabilities\n\n### Appium Capabilities\n\n| Capability              | Required |  Type  | Description                                                                             |\n| ----------------------- | :------: | :----: | --------------------------------------------------------------------------------------- |\n| `appium:automationName` |    +     | string | Must be `CDP`                                                                           |\n| `appium:browserName`    |    +     | string | Must be one of [`chrome`, `Terrace`, `opera`, `brave`, `duckduckgo`, `samsung`, `edge`] |\n\n### W3C Capabilities\n\n| Capability     | Required |  Type  | Description       |\n| -------------- | :------: | :----: | ----------------- |\n| `platformName` |    +     | string | Must be `android` |\n\n## Commands\n\n| Command                                                      | Ref                                                                  | Description             | Implementation Status |\n| ------------------------------------------------------------ | -------------------------------------------------------------------- | ----------------------- | --------------------- |\n| [active](src/commands/active.js)                             | [here](https://www.w3.org/TR/webdriver/#dfn-get-active-element)      | Get Active Element      | ❌                    |\n| [back](src/commands/back.js)                                 | [here](https://www.w3.org/TR/webdriver/#dfn-back)                    | Back                    | ✅                    |\n| [clear](src/commands/clear.js)                               | [here](https://www.w3.org/TR/webdriver/#dfn-element-clear)           | Element Clear           | ✅                    |\n| [click](src/commands/click.js)                               | [here](https://www.w3.org/TR/webdriver/#dfn-element-click)           | Element Click           | ✅                    |\n| [closeWindow](src/commands/closeWindow.js)                   | [here](https://www.w3.org/TR/webdriver/#dfn-close-window)            | Close Window            | ❌                    |\n| [createSession](src/commands/createSession.js)               | [here](https://www.w3.org/TR/webdriver/#dfn-new-sessions)            | New Session             | ✅                    |\n| [createWindow](src/commands/createWindow.js)                 | [here](https://www.w3.org/TR/webdriver/#dfn-new-window)              | New Window              | ❌                    |\n| [deleteCookie](src/commands/deleteCookie.js)                 | [here](https://www.w3.org/TR/webdriver/#dfn-delete-cookie)           | Delete Cookie           | ✅                    |\n| [deleteCookies](src/commands/deleteCookies.js)               | [here](https://www.w3.org/TR/webdriver/#dfn-delete-all-cookies)      | Delete All Cookies      | ✅                    |\n| [deleteSession](src/commands/deleteSession.js)               | [here](https://www.w3.org/TR/webdriver/#dfn-delete-session)          | Delete Session          | ✅                    |\n| [elementDisplayed](src/commands/elementDisplayed.js)         | [here](https://www.w3.org/TR/webdriver/#element-displayedness)       | Is Element Displayed    | ✅                    |\n| [elementEnabled](src/commands/elementEnabled.js)             | [here](https://www.w3.org/TR/webdriver/#dfn-is-element-enabled)      | Is Element Enabled      | ✅                    |\n| [elementSelected](src/commands/elementSelected.js)           | [here](https://www.w3.org/TR/webdriver/#dfn-is-element-selected)     | Is Element Selected     | ❌                    |\n| [execute](src/commands/execute.js)                           | [here](https://www.w3.org/TR/webdriver/#dfn-execute-script)          | Execute Script          | ❌                    |\n| [executeAsync](src/commands/executeAsync.js)                 | [here](https://www.w3.org/TR/webdriver/#dfn-execute-async-script)    | Execute Async Script    | ❌                    |\n| [findElOrEls](src/commands/findElOrEls.js)                   | [here](https://www.w3.org/TR/webdriver/#element-retrieval)           | Find Elements           | ✅                    |\n| [forward](src/commands/forward.js)                           | [here](https://www.w3.org/TR/webdriver/#dfn-forward)                 | Forward                 | ✅                    |\n| [fullScreenWindow](src/commands/fullScreenWindow.js)         | [here](https://www.w3.org/TR/webdriver/#dfn-fullscreen-window)       | Fullscreen Window       | Not supported         |\n| [getAlertText](src/commands/getAlertText.js)                 | [here](https://www.w3.org/TR/webdriver/#dfn-get-alert-text)          | Get Alert Text          | ❌                    |\n| [getAttribute](src/commands/getAttribute.js)                 | [here](https://www.w3.org/TR/webdriver/#dfn-get-element-attribute)   | Get Element Attribute   | ✅                    |\n| [getComputedLabel](src/commands/getComputedLabel.js)         | [here](https://www.w3.org/TR/webdriver/#dfn-get-computed-label)      | Get Computed Label      | ❌                    |\n| [getComputedRole](src/commands/getComputedRole.js)           | [here](https://www.w3.org/TR/webdriver/#dfn-get-computed-role)       | Get Computed Role       | ❌                    |\n| [getCookie](src/commands/getCookie.js)                       | [here](https://www.w3.org/TR/webdriver/#dfn-get-named-cookie)        | Get Named Cookie        | ✅                    |\n| [getCookies](src/commands/getCookies.js)                     | [here](https://www.w3.org/TR/webdriver/#dfn-get-all-cookies)         | Get All Cookies         | ✅                    |\n| [getCssProperty](src/commands/getCssProperty.js)             | [here](https://www.w3.org/TR/webdriver/#dfn-get-element-css-value)   | Get Element CSS Value   | ❌                    |\n| [getElementRect](src/commands/getElementRect.js)             | [here](https://www.w3.org/TR/webdriver/#dfn-get-element-rect)        | Get Element Rect        | ✅                    |\n| [getElementScreenshot](src/commands/getElementScreenshot.js) | [here](https://www.w3.org/TR/webdriver/#dfn-take-element-screenshot) | Take Element Screenshot | ✅                    |\n| [getName](src/commands/getName.js)                           | [here](https://www.w3.org/TR/webdriver/#dfn-get-element-tag-name)    | Get Element Tag Name    | ✅                    |\n| [getPageSource](src/commands/getPageSource.js)               | [here](https://www.w3.org/TR/webdriver/#dfn-get-page-source)         | Get Page Source         | ✅                    |\n| [getProperty](src/commands/getProperty.js)                   | [here](https://www.w3.org/TR/webdriver/#dfn-get-element-property)    | Get Element Property    | ❌                    |\n| [getScreenshot](src/commands/getScreenshot.js)               | [here](https://www.w3.org/TR/webdriver/#dfn-take-screenshot)         | Take Screenshot         | ✅                    |\n| [getText](src/commands/getText.js)                           | [here](https://www.w3.org/TR/webdriver/#dfn-get-element-text)        | Get Element Text        | ✅                    |\n| [getTimeouts](src/commands/getTimeouts.js)                   | [here](https://www.w3.org/TR/webdriver/#dfn-get-timeouts)            | Get Timeouts            | ❌                    |\n| [getUrl](src/commands/url.js)                                | [here](https://www.w3.org/TR/webdriver/#dfn-get-current-url)         | Get Current URL         | ✅                    |\n| [getWindowHandle](src/commands/getWindowHandle.js)           | [here](https://www.w3.org/TR/webdriver/#dfn-get-window-handle)       | Get Window Handle       | ❌                    |\n| [getWindowHandles](src/commands/getWindowHandles.js)         | [here](https://www.w3.org/TR/webdriver/#dfn-get-window-handles)      | Get Window Handles      | ❌                    |\n| [getWindowRect](src/commands/getWindowRect.js)               | [here](https://www.w3.org/TR/webdriver/#dfn-get-window-rect)         | Get Window Rect         | ❌                    |\n| [implicitWaitW3C](src/commands/implicitWaitW3C.js)           | [here](https://www.w3.org/TR/webdriver/#dfn-set-timeouts)            | Set Implicit Timeout    | ❌                    |\n| [maximizeWindow](src/commands/maximizeWindow.js)             | [here](https://www.w3.org/TR/webdriver/#dfn-maximize-window)         | Maximize Window         | ❌                    |\n| [minimizeWindow](src/commands/minimizeWindow.js)             | [here](https://www.w3.org/TR/webdriver/#dfn-minimize-window)         | Minimize Window         | ❌                    |\n| [pageLoadTimeoutW3C](src/commands/pageLoadTimeoutW3C.js)     | [here](https://www.w3.org/TR/webdriver/#dfn-set-timeouts)            | Set Page Load Timeout   | ❌                    |\n| [parentFrame](src/commands/parentFrame.js)                   | [here](https://www.w3.org/TR/webdriver/#dfn-switch-to-parent-frame)  | Switch To Parent Frame  | ❌                    |\n| [performActions](src/commands/performActions.js)             | [here](https://www.w3.org/TR/webdriver/#dfn-perform-actions)         | Perform Actions         | ❌                    |\n| [postAcceptAlert](src/commands/postAcceptAlert.js)           | [here](https://www.w3.org/TR/webdriver/#dfn-accept-alert)            | Accept Alert            | ❌                    |\n| [postDismissAlert](src/commands/postDismissAlert.js)         | [here](https://www.w3.org/TR/webdriver/#dfn-dismiss-alert)           | Dismiss Alert           | ❌                    |\n| [printPage](src/commands/printPage.js)                       | [here](https://www.w3.org/TR/webdriver/#dfn-print-page)              | Print Page              | ❌                    |\n| [refresh](src/commands/refresh.js)                           | [here](https://www.w3.org/TR/webdriver/#dfn-refresh)                 | Refresh                 | ✅                    |\n| [releaseActions](src/commands/releaseActions.js)             | [here](https://www.w3.org/TR/webdriver/#dfn-release-actions)         | Release Actions         | ❌                    |\n| [scriptTimeoutW3C](src/commands/scriptTimeoutW3C.js)         | [here](https://www.w3.org/TR/webdriver/#dfn-set-timeouts)            | Set Script Timeout      | ❌                    |\n| [setAlertText](src/commands/setAlertText.js)                 | [here](https://www.w3.org/TR/webdriver/#dfn-send-alert-text)         | Send Alert Text         | ❌                    |\n| [setCookie](src/commands/setCookie.js)                       | [here](https://www.w3.org/TR/webdriver/#dfn-adding-a-cookie)         | Add Cookie              | ✅                    |\n| [setFrame](src/commands/setFrame.js)                         | [here](https://www.w3.org/TR/webdriver/#dfn-switch-to-frame)         | Switch To Frame         | ❌                    |\n| [setUrl](src/commands/url.js)                                | [here](https://www.w3.org/TR/webdriver/#dfn-navigate-to)             | Navigate To             | ✅                    |\n| [setValue](src/commands/setValue.js)                         | [here](https://www.w3.org/TR/webdriver/#dfn-element-send-keys)       | Element Send Keys       | ✅                    |\n| [setWindow](src/commands/setWindow.js)                       | [here](https://www.w3.org/TR/webdriver/#dfn-switch-to-window)        | Switch To Window        | ❌                    |\n| [setWindowRect](src/commands/setWindowRect.js)               | [here](https://www.w3.org/TR/webdriver/#dfn-set-window-rect)         | Set Window Rect         | Not supported         |\n| [title](src/commands/title.js)                               | [here](https://www.w3.org/TR/webdriver/#dfn-get-title)               | Get Title               | ✅                    |\n| [uploadFile](src/commands/uploadFile.js)                     | -                                                                    | Upload File             | Not supported         |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappiumtestdistribution%2Fappium-cdp-driver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappiumtestdistribution%2Fappium-cdp-driver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappiumtestdistribution%2Fappium-cdp-driver/lists"}