Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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
  • npm
  • Socket score

Version published
Weekly downloads
118
increased by21.65%
Maintainers
1
Weekly downloads
 
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

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

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc