WebdriverIO 5 and 6

This section walks you through creating a project with WebdriverIO version 5 or 6 using the Jasmine framework and connecting it to the Perfecto cloud.

WebdriverIO clients now support a pure Appium flow. As a result, you no longer need to use the useAppiumForHybrid capability (for details, see New architecture for Appium web and hybrid testing on iOS).

For information specific to WebdriverIO version 7, see WebdriverIO 7 and 8.

Important: This document includes references to a third-party product, WebdriverIO. The user interface and usage of third-party products are subject to change without notice. For the latest published information about WebdriverIO, see https://webdriver.io/docs/gettingstarted/.

Prerequisites

Make sure you have Node.js (https://nodejs.org/) and NPM (https://www.npmjs.com/) installed on your machine.

Step-by-step instructions

Expand a step to view details.

JavaScript sample for native automation

This code sample demonstrates the use of WebDriverIO, a JavaScript automation framework for executing native automation tests with Perfecto. The complete sample and documentation are available in the PerfectoCode GitHub Repository: https://github.com/PerfectoCode/Samples/tree/master/Appium/JavaScript