impf-bot
impf-bot copied to clipboard
Chromedriver sucht nach version 91, was in Debian buster nicht verfügbar ist
In der Docker Datei wird chromium=90.0.4430.212-1~deb10u1 installiert, was völlig richtig ist. Dabei handelt es um die letzte Version im repo. Aber wenn Sie den Container ausführen, sucht der Treiber-Downloader nach dem Chrome 91 Treiber.
Ich habe es so repariert:
WebDriverManager.chromedriver().driverVersion("90.0.4430.212").setup();
should be WebDriverManager.chromedriver().driverVersion("90.0.4430.24").setup();
i guess
should be
WebDriverManager.chromedriver().driverVersion("90.0.4430.24").setup();
i guess
You're absolutely right
Tbh this WebDriverManager isn't a really good solution. It doesn't support ARM (e.g. for Raspberry Pi's) drivers or it's choosing the right version.
:(
is the docker image working for u guys? My docker is always complaining that it cant find the chromdriver
With the following adjustments it works for me: https://github.com/TobseF/impf-bot/issues/86#issuecomment-852974499 (DriverFactory.kt) https://github.com/TobseF/impf-bot/issues/36#issuecomment-855217377 (Dockerfile)
Works for me, too. I have built the image locally, after I've modified DriverFactory.kt following the advise given in https://github.com/TobseF/impf-bot/issues/86#issuecomment-852974499 Dockerfile unchanged.