🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@wdio/crossbrowsertesting-service

Package Overview
Dependencies
Maintainers
0
Versions
385
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wdio/crossbrowsertesting-service

A WebdriverIO service that manages local tunnel and job metadata for CrossBrowserTesting users.

8.42.0
latest
Source
npm
Version published
Weekly downloads
1K
13.69%
Maintainers
0
Weekly downloads
 
Created
Source

WebdriverIO CrossBrowserTesting Service

A WebdriverIO service that manages local tunnel and job metadata for CrossBrowserTesting users.

Installation

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

npm install  @wdio/crossbrowsertesting-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 host option to hub.crossbrowsertesting.com. If you want to use CrossBrowserTesting Tunnel you just need to set cbtTunnel: true.

// wdio.conf.js
exports.config
    // ...
    user: process.env.CBT_USERNAME,
    key: process.env.CBT_AUTHKEY,
    services: [
        ['crossbrowsertesting', {
            cbtTunnel: true,
            cbtTunnelOpts: {
                // any additional options from cbt_tunnels
            },
        }]
    ],
    // ...
};

Options

In order to authorize to the CrossBrowserTesting service your config needs to contain a user and key option.

cbtTunnel

If true secure CBT local connection is started.

Type: Boolean
Default: false

cbtTunnelOpts

Any additional options to pass along to the start() function of cbt_tunnels

Type: Object
Default: {}

For more information on WebdriverIO see the homepage.

Keywords

wdio-plugin

FAQs

Package last updated on 12 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts