# WebDriverIO

Last updated on : 21 Jan 2025

## Overview

WebdriverIO, a well-known JavaScript test automation framework compatible with Node.js, enables automation for a broad spectrum of applications. It seamlessly automates modern web frameworks like React, Angular, Polymer, and Vue.js, in addition to native mobile apps for both Android and iOS platforms.

WebdriverIO features its interpretation of the WebDriver specification, facilitating the execution of tests across various browsers.

### Prerequisites

1. Node.js
   Make sure you have Node.js installed on your machine. It is recommended to use version 16 or above.

2. NPM
   Ensure that NPM (Node Package Manager) is installed on your machine.

3. Project Setup
   Clone or download the project to your local system.

4. Install Dependencies
   Open the terminal and navigate to the project's downloaded path. Install the project dependencies by running the following command:

```bash title="Terminal"
npm install
```

#### Configuration

1. Update Email
   In the `wdio.android.conf.js` file, locate the line containing `Pcloudy_Username` and enter your email address as the value.

2. Update API Key
   Similarly, find the line with `Pcloudy_ApiKey` and replace `"Enter your API Key"` with your actual API key.

#### Execution

To run the script, use the following command in the terminal:

```bash title="Terminal"
npm run wdio
```

The complete sample and documentation are available in the pCloudy GitHub Repository: [Here](https://github.com/pankyopkey/pCloudy-sample-projects/tree/master/WDIO)
