@jest-environment-browserstack/selenium-webdriver
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

@jest-environment-browserstack/selenium-webdriver

This plugin wraps the NPM module selenium-webdriver.

It gives access to this NPM module through the Browserstack environment.

Usage

npm install --save-dev jest-environment-browserstack @jest-environment-browserstack/selenium-webdriver

Once you have installed both modules, assuming that you Jest configuration is in your package.json, add the following:

{
  "jest": {
    "globals": {
      "browserstack": {
        "driver": "@jest-environment-browserstack/selenium-webdriver",
        "capabilities": {
          "browserName": "chrome",
          "browserVersion": "76.0",
          "bstack:options": {
            "os": "Windows",
            "osVersion": "10",
            "buildName": "with-bt-local",
            "local": true
          }
        },
        "localTesting": {
          "verbose": true,
          "local": true,
          "forceLocal": true
        }
      }
    }
  }
}

Package Sidebar

Install

npm i @jest-environment-browserstack/selenium-webdriver

Weekly Downloads

2

Version

2.0.1

License

MIT

Unpacked Size

8.11 kB

Total Files

6

Last publish

Collaborators

  • taktakpeops