chrome-launcher
chrome-launcher copied to clipboard
Launch Google Chrome with ease from node.
Commit https://github.com/GoogleChrome/chrome-launcher/pull/267/commits/4771eafff2b5a93c8cad3c359d027253618b936b introduces the possibility to control whether the browser get started in headless mode. This is done by directly checking the environment variable "headless". Running the package in the...
Hey, I try to run chrome launch from my ubuntu and got the error: connect ECONNREFUSED 127.0.0.1:38073. What should I do? the same code works well on mac os. Details:...
Is it possible to launch with --user-data-dir=(default chrome data directory) and actually connect?
It seems to create a tab in my current browser but it doesn't seem to ever create a process on the given port. In the example for instance port 64043...
I have this: ```js const cl = require('chrome-launcher'); const util = require('util'); cl.launch({ startingUrl: `http://yahoo.com`, chromeFlags: ['--auto-open-devtools-for-tabs', '--debug-devtools'], enableExtensions: true }) .then(c => { console.log(util.inspect(c)); // const url = c.getWebSocketServerUrl()...
There are several issues about this problem. (in this repo and in ligththouse's) I'm going to jot down some notes here. We use `taskkill` to kill the chrome process on...
When attempting to `chromeLauncher.launch`, I receive the following error trace: ``` ChromeNotInstalledError at new LauncherError (/Users/justincohen/lighthouse/node_modules/chrome-launcher/dist/utils.js:37:22) at new ChromeNotInstalledError (/Users/justincohen/lighthouse/node_modules/chrome-launcher/dist/utils.js:68:9) at Launcher. (/Users/justincohen/lighthouse/node_modules/chrome-launcher/dist/chrome-launcher.js:163:27) at Generator.next () at /Users/justincohen/lighthouse/node_modules/chrome-launcher/dist/chrome-launcher.js:13:71 at new...
It should closeSync outFile and errFile when userDataDir is custom. fixes #260
Allows finding Scoop installations, among others. Closes #214