WebdriverIO
  • 02 Mar 2023
  • 1 Minute to read
  • Dark
    Light

WebdriverIO

  • Dark
    Light

Article summary

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

  1. Create a simple test folder by running following command $ mkdir webdriverio-test
  2. Install WebdriverIO by running following command npm install webdriverio
  3. Run wdio command for the installation for WDIO Configuration file.
  4. Enter your pCloudy_Username ie "Enter your Email-id" in "wdio.android.conf.js".
  5. Enter your pCloudy_ApiKey ie "Enter your API Key" in "wdio.android.conf.js".
  6. Open Terminal where the project is located.
  7. Run the script with the following command: wdio wdio.android.conf.js
  8. Optional Capabilities : Can choose any one of the below-:
    1. Option1: pCloudy_DeviceManafacturer
    2. Option2: pCloudy_DeviceVersion
    3. Option3: pCloudy_DeviceFullName

The complete sample project and documentation are available in the pCloudy GitHub Repository


Was this article helpful?