question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot find chrome binary

See original GitHub issue

hi

i install the sitespeed.io by clone git repo. then i try to run without docker i got error cannot find chrome binary [root@server sitespeed.io]# bin/sitespeed.js https://riaucybersolution.net/ [2018-02-28 15:12:09] INFO: Versions OS: linux 3.10.0-229.1.2.el7.x86_64 nodejs: v8.9.4 sitespeed.io: 6.3.5 browsertime: 2.2.2 coach: 1.2.0 [2018-02-28 15:12:09] INFO: Starting chrome for analysing https://riaucybersolution.net/ 3 time(s) [2018-02-28 15:12:09] INFO: Testing url https://riaucybersolution.net/ run 1 [2018-02-28 15:12:09] INFO: Browser failed to start, trying one more time: unknown error: cannot find Chrome binary (Driver info: chromedriver=2.35.528139 (47ead77cb35ad2a9a83248b292151462a66cd881),platform=Linux 3.10.0-229.1.2.el7.x86_64 x86_64) [2018-02-28 15:12:09] ERROR: https://riaucybersolution.net/ generated the following error in Browsertime BrowserError: unknown error: cannot find Chrome binary (Driver info: chromedriver=2.35.528139 (47ead77cb35ad2a9a83248b292151462a66cd881),platform=Linux 3.10.0-229.1.2.el7.x86_64 x86_64) (Driver info: chromedriver=2.35.528139 (47ead77cb35ad2a9a83248b292151462a66cd881),platform=Linux 3.10.0-229.1.2.el7.x86_64 x86_64) at startBrowser.call.catch.tap.tap.catch.catch.e (/home/webmetric.id/public_html/sitespeed.io/node_modules/browsertime/lib/core/seleniumRunner.js:93:15) From previous event: at SeleniumRunner.start (/home/webmetric.id/public_html/sitespeed.io/node_modules/browsertime/lib/core/seleniumRunner.js:92:13) at Promise.resolve.tap (/home/webmetric.id/public_html/sitespeed.io/node_modules/browsertime/lib/core/engine.js:248:27) From previous event: at runIteration (/home/webmetric.id/public_html/sitespeed.io/node_modules/browsertime/lib/core/engine.js:248:10) at Promise.reduce (/home/webmetric.id/public_html/sitespeed.io/node_modules/browsertime/lib/core/engine.js:336:27) From previous event: at Promise.resolve.tap.tap.tap.tap.result (/home/webmetric.id/public_html/sitespeed.io/node_modules/browsertime/lib/core/engine.js:333:17) at runCallback (timers.js:789:20) at tryOnImmediate (timers.js:751:5) at processImmediate [as _immediateCallback] (timers.js:722:5) From previous event: at Engine.run (/home/webmetric.id/public_html/sitespeed.io/node_modules/browsertime/lib/core/engine.js:332:8) at engine.start.then (/home/webmetric.id/public_html/sitespeed.io/lib/plugins/browsertime/analyzer.js:132:26) at emitNone (events.js:106:13) at Server.emit (events.js:208:7) at emitListeningNT (net.js:1378:10) at _combinedTickCallback (internal/process/next_tick.js:135:11) at process._tickCallback (internal/process/next_tick.js:180:9) From previous event: at Object.analyzeUrl (/home/webmetric.id/public_html/sitespeed.io/lib/plugins/browsertime/analyzer.js:132:8) at storageManager.createDirForUrl.then.then (/home/webmetric.id/public_html/sitespeed.io/lib/plugins/browsertime/index.js:209:22) at /home/webmetric.id/public_html/sitespeed.io/node_modules/mkdirp/index.js:30:20 at FSReqWrap.oncomplete (fs.js:135:15) From previous event: at Object.processMessage (/home/webmetric.id/public_html/sitespeed.io/lib/plugins/browsertime/index.js:208:12) at queue.process.message (/home/webmetric.id/public_html/sitespeed.io/lib/core/queueHandler.js:210:32) at drainItem (/home/webmetric.id/public_html/sitespeed.io/node_modules/concurrent-queue/index.js:96:21) at Immediate.drain [as _onImmediate] (/home/webmetric.id/public_html/sitespeed.io/node_modules/concurrent-queue/index.js:77:84) at runCallback (timers.js:789:20) at tryOnImmediate (timers.js:751:5) at processImmediate [as _immediateCallback] (timers.js:722:5) [2018-02-28 15:12:10] INFO: HTML stored in /home/webmetric.id/public_html/sitespeed.io/sitespeed-result/riaucybersolution.net/2018-02-28-15-12-09 [2018-02-28 15:12:10] INFO: Finished analysing https://riaucybersolution.net/ [root@server sitespeed.io]

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
passwordleakcommented, Feb 28, 2018

Same problem. Ironically I’m viewing this with Chrome. Windows 10

Edit: nvm I realized I was using admin account, and I didn’t have chrome installed for that user. Works perfectly now.

0reactions
juniorriaucommented, Mar 1, 2018

ok i’ll try, i don’t have any experience using docker.

Read more comments on GitHub >

github_iconTop Results From Across the Web

cannot find Chrome binary error with Selenium in Python for ...
This error message... WebDriverException: unknown error: cannot find Chrome binary ...implies that the ChromeDriver was unable to find the Chrome binary in ...
Read more >
Fix: Selenium's “cannot find Chrome binary” Error
NOTE: Just for the sake of clarity, this “Chrome binary” that Selenium is referring to is simply the OG big daddy main “Chrome.exe”...
Read more >
Selenium UI test can no longer find Chrome binary on ...
Below are the two solutions: Solution 1: Change Protractor binary in the Protractor configuration file. capabilities: { 'browserName': 'chrome', 'chromeOptions ...
Read more >
Selenium Webdriver can't find Chrome binary after new install ...
Seems the new Chrome location on Windows causes this, but if Chrome and ChromeDriver are kept in sync, it should be fixed. By...
Read more >
Unknown error: cannot find Chrome binary - Katalon Community
I found the chrome.exe installed in the folder C:\Program Files (x86)\Google\Chrome\Application. I believe this is the location where Chrome is ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found