Socket
Socket
Sign inDemoInstall

@wdio/crossbrowsertesting-service

Package Overview
Dependencies
370
Maintainers
3
Versions
367
Alerts
File Explorer

Advanced tools

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.


Version published
Maintainers
3
Weekly downloads
1,484
decreased by-29.03%

Weekly downloads

Readme

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

FAQs

Last updated on 20 Mar 2024

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc