sitespeedio / browsertime

Measure and Optimize Web Performance
https://www.sitespeed.io/documentation/browsertime/
Apache License 2.0
608 stars 137 forks source link

linux failed to start chorme three times #2006

Closed Liu6625 closed 11 months ago

Liu6625 commented 1 year ago

Your question

I tried to run it using the node script on the Linux system, but it showed that it failed to start chorme three times. I set the path of the google-chrome-stable_current_amd64.deb file in chrome.binaryPath (the download file on Google's official website). I want to know whether I need to download chrome on Linux, and whether I can use Chromium directly. How to set the paths of the two?

soulgalore commented 1 year ago

Hi @Liu6625 do you have a screen on your machine or did you use xvfb when you start? If you try adding --headless do that work (as a first test)? Else to get to the root issue you should enable the chrome driver log --chrome.enableChromeDriverLog, that will write to a file call chrome driver log, look in that log and copy/paste the error to this issue and I can try to help you.

Best Peter

Liu6625 commented 11 months ago

This is my problem, there is no permission to start in this linux container