wdio-trueautomation-service

0.4.2 • Public • Published

WDIO TrueAutomation.IO Service

This service allows to run TrueAutomation.IO tests with the WDIO TestRunner. It should be used with trueautomation-helper module.

Installation

The easiest way is to keep wdio-trueautomation-service as a devDependency in your package.json.

{
  "devDependencies": {
    "wdio-trueautomation-service": "~0.4"
  }
}

You can simple do it by:

npm install wdio-trueautomation-service --save-dev

Instructions on how to install WebdriverIO can be found here.

Configuration

In order to use the service you need to add trueautomation to your service array:

// wdio.conf.js
export.config = {
  // ...
  services: ['trueautomation'],
  // ...
};

Remote webdriver

By default TrueAutomation.IO works only with local webdrivers managed by its client. To connect to remote webdriver use remote option in wdio.conf.js:

// wdio.conf.js
export.config = {
  // ...
  services: ['trueautomation'],
  remotetrue,
  hostname: 'example.com',
  port: 4444
  // ...
};

In this case TrueAutomation.IO client will be started locally on port 9151 and connect to remote webdriver specified in wdio config options.

Options

trueautomationLog

Path to logfile

Type: String

Default: log/trueautomation-${Date.now()}.log

trueautomationPort

Port that truautomation will be listen to

Type: Integer

Default: 9515

driver

TrueAutomation.IO driver to use

Type: String

Default: chromedriver

driverVersion

TrueAutomation.IO driver version to use

Type: String

Default: latest

Package Sidebar

Install

npm i wdio-trueautomation-service

Weekly Downloads

4

Version

0.4.2

License

MIT

Unpacked Size

11.9 kB

Total Files

10

Last publish

Collaborators

  • stegrial
  • ikonyshev
  • shapovalovei