How to use browser-launcher - 1 common examples

To help you get started, we’ve selected a few browser-launcher examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github azer / prova / lib / launch.js View on Github external
function list () {
  launcher.detect(function (avail) {
    console.log(style('\n  {cyan}Available Browsers:\n{reset} ' + avail.map(function (b) {
      return '\n  ' + b.name + ' {grey}v' + b.version + '{reset}';
    }).join('')) + '\n');
  });
}

browser-launcher

detect and launch browser versions, headlessly or otherwise

MIT
Latest version published 4 years ago

Package Health Score

51 / 100
Full package analysis

Popular browser-launcher functions