TrueAutomation.IO integration for webdriver.io
npm install wdio-trueautomation-serviceWDIO TrueAutomation.IO Service
=========
This service allows to run TrueAutomation.IO tests with the WDIO TestRunner.
It should be used with trueautomation-helper module.
The easiest way is to keep wdio-trueautomation-service as a devDependency in your package.json.
``json`
{
"devDependencies": {
"wdio-trueautomation-service": "~0.4"
}
}
You can simple do it by:
`bash`
npm install wdio-trueautomation-service --save-dev
Instructions on how to install WebdriverIO can be found here.
In order to use the service you need to add trueautomation to your service array:
`js`
// wdio.conf.js
export.config = {
// ...
services: ['trueautomation'],
// ...
};
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:
`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.
Type: String
Default: log/trueautomation-${Date.now()}.log
will be listen toType:
IntegerDefault:
9515$3
TrueAutomation.IO driver to useType:
StringDefault:
chromedriver$3
TrueAutomation.IO driver version to useType:
StringDefault:
latest`