1.0.3 • Published 7 years ago

available-browsers v1.0.3

Weekly downloads
48
License
MIT
Repository
github
Last release
7 years ago

available-browsers

Available browsers for sauce labs, browser stack and testing bot. This lets you get the capabilities for the platform of your choice, and switch effortlessly between them.

Build Status Dependency Status NPM version

Installation

npm install available-browsers --save

Usage

var availableBrowsers = require('available-browsers');

var capabilities = getCapabilities('browserstack', 'chrome');

args:

  • remote: 'browserstack' | 'saucelabs' | 'testingbot'
  • browser: 'android' | 'chrome' | 'edge' | 'firefox' | 'ie' | 'ios' | 'opera' | 'safari'
  • version: string - defaults to latest version that's available on all three remotes
  • operating system: string - defaults to latest windows for all desktop browsers except safari, defaults to latest mac on safari, defaults to most recent iPhone/android.

License

MIT