We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update: it works with --headless on terminal, but it still error with ChromeLauncher
--headless
ChromeLauncher
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --headless --remote-debugging-port=9222
when set the chromeFlags --headless, it throw the error.
but it works without --headless flag
ChromeLauncher Waiting for browser. +0ms ChromeLauncher Waiting for browser... +3ms ChromeLauncher Waiting for browser..... +521ms ChromeLauncher Waiting for browser....... +508ms ChromeLauncher Waiting for browser......... +508ms ChromeLauncher Waiting for browser........... +507ms ChromeLauncher Waiting for browser............. +504ms ChromeLauncher Waiting for browser............... +507ms ChromeLauncher Waiting for browser................. +507ms ChromeLauncher Waiting for browser................... +506ms ChromeLauncher Waiting for browser..................... +506ms ChromeLauncher Waiting for browser....................... +507ms ChromeLauncher:error connect ECONNREFUSED 127.0.0.1:61163 +3ms ChromeLauncher:error Logging contents of /var/folders/4c/hq5_h4cn3sj96qqfy8r5xdl80000gn/T/lighthouse.XXXXXXX.ZVgoeUQa/chrome-err.log +1ms ChromeLauncher:error [0710/003554.844380:ERROR:headless_shell.cc(104)] Navigation to failed ChromeLauncher:error +0ms
// "chrome-launcher": "^0.3.1" const chromeLauncher = require('chrome-launcher') function launchChrome() { return chromeLauncher.launch({ chromeFlags: [ '--window-size=800,600', '--disable-gpu', '--headless' ] }) } launchChrome()
macOS Sierra 10.12.3
Google Chrome / Version 59.0.3071.115 (Official Build) (64-bit)
The text was updated successfully, but these errors were encountered:
@LoeiFy does this still happen with the latest version of ChromeLauncher? If so, please file a bug in the new moved repository. Thanks!
https://github.com/GoogleChrome/chrome-launcher
Sorry, something went wrong.
No branches or pull requests
update: it works with
--headless
on terminal, but it still error withChromeLauncher
when set the chromeFlags
--headless
, it throw the error.but it works without
--headless
flagthe error
the code
the os platform
macOS Sierra 10.12.3
Google Chrome / Version 59.0.3071.115 (Official Build) (64-bit)
The text was updated successfully, but these errors were encountered: