= Webdriverio - pCloudy documentation

WebdriverIO

Overview

WebdriverIO is a custom implementation for selenium's W3C webdriver API. It is written in Javascript and packaged into 'npm' and runs on Node. js. Main Features of WebdriverIO: WebdriverIO is a good automation tool which can automate both web applications and native mobile Apps.

Prerequisites

  • User need to have Node.js and NPM installed on the machine.

Steps

Step 1 Create a simple test folder by running following command $ mkdir webdriverio-test

Step 2 Install WebdriverIO by running following command npm install webdriverio

Step 3 Run wdio command for the installation for WDIO Configuration file.

Step 4 Enter your pCloudy_Username ie "Enter your Email-id" in "wdio.android.conf.js".

Step 5 Enter your pCloudy_ApiKey ie "Enter your API Key" in "wdio.android.conf.js".

Step 6 Open Terminal where the project is located.

Step 7 Run the script with the following command: wdio wdio.android.conf.js

Step 8 Optional Capabilities : Can choose any one of the below-:

  • Option1: pCloudy_DeviceManafacturer
  • Option2: pCloudy_DeviceVersion
  • Option3: pCloudy_DeviceFullName
  • The complete sample and documentation are available in the pCloudy GitHub Repository

    https://github.com/pankyopkey/pCloudy-sample-projects