gemini-browserstack

Plugin for starting up a tunnel to BrowserStack when running tests with Gemini

Usage no npm install needed!

<script type="module">
  import geminiBrowserstack from 'https://cdn.skypack.dev/gemini-browserstack';
</script>

README

gemini-browserstack

Plugin for starting up a BrowserStack tunnel when running tests with Gemini

Build Status

Requirements

Works with gemini v1.0.0 or later.

Installation

npm install gemini-browserstack

Configuration

  • username (optional) sets the username for BrowserStack. Defaults to environmental variable BS_USERNAME
  • accessKey (optional) sets the accesskey for BrowserStack. Defaults to environmental variable BS_ACCESS_KEY
  • localIdentifier (optional) sets the local identifier for BrowserStack. Enables you to run multiple parallel tests.

Example configuration for your .gemini.yml

rootUrl: http://localhost:8080/sut/
gridUrl: http://this.address.is.ignored/so-anything-goes

system:
  plugins:
    browserstack:
      username: foo
      accessKey: bar

browsers:
  ie11:
    desiredCapabilities:
      os: "WINDOWS"
      os_version: "7"
      browserName: "internet explorer"
      version: "11"

  chrome43:
    desiredCapabilities:
      os: "WINDOWS"
      os_version: "10"
      browserName: "chrome"
      version: "43"