ForbesLindesay / available-browsers

Available browsers for sauce labs, browser stack and testing bot.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Available browsers for sauce labs, browser stack and testing bot.

License:MIT License


Languages

Language:JavaScript 100.0%