webdriverio/packages/wdio-testingbot-service
WebdriverIO Release Bot 4ca4677177 v9.19.2
2025-08-24 05:41:24 +00:00
..
src Add setAnnotation to TestingBot service (#14033) 2025-01-06 14:59:07 -08:00
tests Add setAnnotation to TestingBot service (#14033) 2025-01-06 14:59:07 -08:00
.npmignore Get rid of Babel and rewrite @wdio/repl (#5804) 2020-09-21 10:54:42 +02:00
LICENSE fix(docs): change file name of license from LICENSE-MIT to just LICENSE 2024-08-05 11:24:13 -07:00
package.json v9.19.2 2025-08-24 05:41:24 +00:00
README.md export as esm 2022-11-04 00:40:26 -07:00
tsconfig.json breaking(build): migrate to Esbuild for bundling (#13338) 2024-08-08 23:47:30 -07:00

WebdriverIO TestingBot Service

WebdriverIO service that provides a better integration into TestingBot. It updates the job metadata ('name', 'passed', 'tags', 'public', 'build', 'extra') and runs TestingBot Tunnel if desired.

Installation

The easiest way is to keep @wdio/testingbot-service as a devDependency in your package.json, via:

npm install @wdio/testingbot-service --save-dev

Instructions on how to install WebdriverIO can be found here.

Configuration

In order to use the service you need to set user and key in your wdio.conf.js file, and set the hostname option to hub.testingbot.com. If you want to use TestingBot Tunnel you need to set tbTunnel: true.

// wdio.conf.js
export const config = {
    // ...
    user: process.env.TB_KEY,
    key: process.env.TB_SECRET,
    services: [
        ['testingbot', {
            tbTunnel: true
        }]
    ],
    // ...
};

Options

To authorize the TestingBot service your config needs to contain a user and key option.

tbTunnel

If true it runs the TestingBot Tunnel and opens a secure connection between a TestingBot Virtual Machine running your browser tests.

Type: Boolean
Default: false

tbTunnelOpts

Apply TestingBot Tunnel options (e.g. to change port number or logFile settings). See this list for more information.

Type: Object
Default: {}