GoogleChrome / chrome-launcher

Launch Google Chrome with ease from node.
https://www.npmjs.com/package/chrome-launcher
Apache License 2.0
1.24k stars 189 forks source link

lighthouse opens chrome with about:blank tabs #9

Open devtools-bot opened 7 years ago

devtools-bot commented 7 years ago

From @guilhermevrs on July 19, 2017 9:32

Initial URL: https://developers.google.com/web/tools/lighthouse/ Chrome Version: 61.0.3160.0

When lauching ./node_modules/.bin/lighthouse https://developers.google.com/web/tools/lighthouse/

I get the following:

  ChromeLauncher Waiting for browser. +0ms
  ChromeLauncher Waiting for browser... +2ms
  ChromeLauncher Waiting for browser...√ +510ms

But a chrome canary window opens with three tabs untitled tabs. The first with the path of my chrome executable (e.g. file:///C:/Users/username/AppData/Local/Google/Chrome%20SxS/Application/61.0.3160.0) and the rest with about:blank

image

I can't open the DevTools on it. I have tried to use remote debugging, but the "Inspected pages" shows nothing.

I have tried using programatically, but no luck either. Same results

Windows 7 x64 Lighthouse version: 2.2.1 Node version: 6.10.3

Copied from original issue: GoogleChrome/lighthouse#2711

devtools-bot commented 7 years ago

From @guilhermevrs on July 21, 2017 10:9

Fixed using --chrome-flags="--no-sandbox"

devtools-bot commented 7 years ago

From @paulirish on July 21, 2017 20:59

That's unexpected. I want to keep this open while we investigate more on windows.

Thanks!