Closed Liu6625 closed 11 months 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
This is my problem, there is no permission to start in this linux container
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?