Skip to content

ashnur/windows-chrome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

windows-chrome

Uses win-detect-browsers

Usage

const chrome = require('windows-chrome')

chrome({ uri: 'https://github.com/' }, function(err, ps){
	ps.stderr.setEncoding('utf8')
        ps.stderr.on('data', (data) => {
        	console.log('err', data);
        });
	
	// ... 
})

Installation

$ npm install windows-chrome

Google Chrome needs to be installed on your system as well.

API

chrome(opts, callback)

Callback is called with err and child_process objects.

Options:

  • uri: Open this at start
  • proxy: Proxy server settings
  • dataDir: Data dir, defaults to your systems' TMP

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published