WebdriverIO
- 02 Mar 2023
- 1 Minute to read
- Print
- DarkLight
WebdriverIO
- Updated on 02 Mar 2023
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
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
- Create a simple test folder by running following command $ mkdir webdriverio-test
- Install WebdriverIO by running following command npm install webdriverio
- Run wdio command for the installation for WDIO Configuration file.
- Enter your pCloudy_Username ie "Enter your Email-id" in "wdio.android.conf.js".
- Enter your pCloudy_ApiKey ie "Enter your API Key" in "wdio.android.conf.js".
- Open Terminal where the project is located.
- Run the script with the following command: wdio wdio.android.conf.js
- Optional Capabilities : Can choose any one of the below-:
- Option1: pCloudy_DeviceManafacturer
- Option2: pCloudy_DeviceVersion
- Option3: pCloudy_DeviceFullName
The complete sample project and documentation are available in the pCloudy GitHub Repository
Was this article helpful?