0.4.2 • Published 4 years ago

wdio-trueautomation-service v0.4.2

Weekly downloads
14
License
MIT
Repository
github
Last release
4 years ago

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'],
  remote: true,
  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

0.4.2

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.9

4 years ago

0.3.8

5 years ago

0.3.7

5 years ago

0.3.6

5 years ago

0.3.5

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

6 years ago