available-browsers

1.0.3 • Public • Published

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

/available-browsers/

    Package Sidebar

    Install

    npm i available-browsers

    Weekly Downloads

    23

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • forbeslindesay