Socket
Book a DemoInstallSign in
Socket

gulp-browserstack

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-browserstack

Start and stop SSH tunnels to BrowserStack in your Gulp pipeline.

1.0.3
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

#Gulp BrowserStack

Start and SSH tunnel before you run your e2e tests in Gulp and tear it down properly afterwards. See the BrowserStackTunnelWrapper documentation for an overview of the available options.

##Example

// running protractor tests on browserstack

var browserStack = require('gulp-browserstack');

gulp
    .src('/test-e2e/**/*Test.js')
    .pipe(browserStack.startTunnel({
        key: 'YOUR_ACCESS_KEY'
    }))
    .pipe(g.protractor.protractor({
        configFile: 'config/protractor-browserstack-config.js'
    }))
    .pipe(browserStack.stopTunnel());

You will find the access key in your BrowserStack account details.

##Running the test

The test runner expects to find the API key and the BrowserStack username in the environment variables BROWSERSTACK_KEY and BROWSERSTACK_USER.

Keywords

browser-stack

FAQs

Package last updated on 28 Dec 2015

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.