Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Feature: Add support for Simplified Browser Options #146

Open
cecilia-sanare opened this issue Apr 3, 2019 · 1 comment
Open

Feature: Add support for Simplified Browser Options #146

cecilia-sanare opened this issue Apr 3, 2019 · 1 comment

Comments

@cecilia-sanare
Copy link
Contributor

cecilia-sanare commented Apr 3, 2019

Description

Hey there!

It'd be awesome if karma-browserstack-launcher supported a simplified
configuration similar to what karma-sauce-launcher offers.

I'd suspect the underlying implementation would be similar to browserstack-capabilities.

Proposed API

module.exports = (config) => {
  config.set({
    customLaunchers: {
      Chrome: {
        base: 'BrowserStack',
        browser: 'chrome',
        browser_version: 'latest' // Chrome 73
      },

      ChromePrior: {
        base: 'BrowserStack',
        browser: 'chrome',
        browser_version: 'latest-1' // Chrome 72
      },

      Safari: {
        base: 'BrowserStack',
        browser: 'safari',
        browser_version: 'latest' // Safari 12
      }
    },

    browsers: ['Chrome', 'ChromePrior', 'Safari'],

    // ...
  });
};
@Archish27
Copy link

BrowserStack supports latest & beta flag browsers.

browser_version: 'latest'
OR
browser_version: 'latest-beta'

For more details check capabilities

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants