Giter Site home page Giter Site logo

appiumtestdistribution / appium-cdp-driver Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 1.0 358 KB

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.

License: MIT License

JavaScript 100.00%
appium appium-android chrome devtools devtools-protocol

appium-cdp-driver's Introduction

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

Command Ref Description Implementation Status
active here Get Active Element
back here Back
clear here Element Clear
click here Element Click
closeWindow here Close Window
createSession here New Session
createWindow here New Window
deleteCookie here Delete Cookie
deleteCookies here Delete All Cookies
deleteSession here Delete Session
elementDisplayed here Is Element Displayed
elementEnabled here Is Element Enabled
elementSelected here Is Element Selected
execute here Execute Script
executeAsync here Execute Async Script
findElOrEls here Find Elements
forward here Forward
fullScreenWindow here Fullscreen Window Not supported
getAlertText here Get Alert Text
getAttribute here Get Element Attribute
getComputedLabel here Get Computed Label
getComputedRole here Get Computed Role
getCookie here Get Named Cookie
getCookies here Get All Cookies
getCssProperty here Get Element CSS Value
getElementRect here Get Element Rect
getElementScreenshot here Take Element Screenshot
getName here Get Element Tag Name
getPageSource here Get Page Source
getProperty here Get Element Property
getScreenshot here Take Screenshot
getText here Get Element Text
getTimeouts here Get Timeouts
getUrl here Get Current URL
getWindowHandle here Get Window Handle
getWindowHandles here Get Window Handles
getWindowRect here Get Window Rect
implicitWaitW3C here Set Implicit Timeout
maximizeWindow here Maximize Window
minimizeWindow here Minimize Window
pageLoadTimeoutW3C here Set Page Load Timeout
parentFrame here Switch To Parent Frame
performActions here Perform Actions
postAcceptAlert here Accept Alert
postDismissAlert here Dismiss Alert
printPage here Print Page
refresh here Refresh
releaseActions here Release Actions
scriptTimeoutW3C here Set Script Timeout
setAlertText here Send Alert Text
setCookie here Add Cookie
setFrame here Switch To Frame
setUrl here Navigate To
setValue here Element Send Keys
setWindow here Switch To Window
setWindowRect here Set Window Rect Not supported
title here Get Title
uploadFile - Upload File Not supported

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.