Closed chiefMarlin closed 2 weeks ago
are you running on windows or linux?
also, do you have chrome installed?? i believe that is a requirement. I also think i forgot to say it in any docs tho lol
Im running on linux, in the dockerfile i installed chromium chromium-driver
hmmmm, try starting chrome, and then running it if that doesnt work we may have some bigger issues
Is there any way to force it to use chromium headless ? As this is a docker container there is no gui. Idea is to use chromium in headless mode
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: Chrome failed to start: exited normally. (session not created: DevToolsActivePort file doesn't exist) (The process started from chrome location /usr/bin/chromium is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
so chrome is opening and exiting immedietly, i think at least.
let me see if there is a way to get selenium to open it headless
Thank you
in the code, it already creates a headless instance
options.add_argument('headless')
Hey, Im trying to get it running in a docker container (amd64) however i am getting below error. This is my Dockerfile
And this is the error i am seeing when running
python3 /scraper/satellitescraper test.py