0.1.19 • Published 5 years ago

wdio-browserstack-service v0.1.19

Weekly downloads
4,412
License
MIT
Repository
github
Last release
5 years ago

WebdriverIO Browserstack Service

We've moved!

This project is now part of the webdriverio monorepo. Find the new home for this project here.

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

Installation

Simply run:

npm install --save-dev wdio-browserstack-service

Configuration

WebdriverIO has Browserstack support out of the box. You should simply set user and key in your wdio.conf.js file. This service plugin provides supports for Browserstack Tunnel. Set browserstackLocal: true also to activate this feature.

// wdio.conf.js
export.config = {
  // ...
  services: ['browserstack'],
  user: process.env.BROWSERSTACK_USERNAME,
  key: process.env.BROWSERSTACK_ACCESS_KEY,
  browserstackLocal: true,
};

Options

user

Your Browserstack username.

Type: String

key

Your Browserstack access key.

Type: String

browserstackLocal

Set this to true to enable routing connections from Browserstack cloud through your computer. You will also need to set browserstack.local to true in browser capabilities.

Type: Boolean Default: false

browserstackLocalForcedStop

Set this to true to kill the browserstack process on complete, without waiting for the browserstack stop callback to be called. This is experimental and should not be used by all. Mostly necessary as a workaraound for this issue.

Type: Boolean Default: false

browserstackOpts

Specified optional will be passed down to BrowserstackLocal. See this list for details.

Type: Object Default: {}


Known Issues

  • It's more of how webdriverio desigend the multi-process model. It is extremely hard if not impossible to reliable transfer localIdentifier to child-processes. We recommend to use it without the identifier at this moment, which will create an account-wide local tunnel.

Credits

For more information on WebdriverIO see the homepage.

Sponsors

Browserstack

Thanks for Browserstack to provide us with a free account for automated tests.

0.1.19

5 years ago

0.1.18

5 years ago

0.1.17

5 years ago

0.1.16

6 years ago

0.1.15

6 years ago

0.1.14

6 years ago

0.1.13

7 years ago

0.1.12

7 years ago

0.1.11

7 years ago

0.1.10

7 years ago

0.1.9

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago