impf-bot icon indicating copy to clipboard operation
impf-bot copied to clipboard

Chromedriver sucht nach version 91, was in Debian buster nicht verfügbar ist

Open piechade opened this issue 3 years ago • 6 comments

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();

piechade avatar Jun 02 '21 11:06 piechade

should be WebDriverManager.chromedriver().driverVersion("90.0.4430.24").setup(); i guess

sdnr avatar Jun 02 '21 12:06 sdnr

should be WebDriverManager.chromedriver().driverVersion("90.0.4430.24").setup(); i guess

You're absolutely right

piechade avatar Jun 02 '21 12:06 piechade

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.

:(

Timwun avatar Jun 02 '21 17:06 Timwun

is the docker image working for u guys? My docker is always complaining that it cant find the chromdriver

c0rrre avatar Jun 07 '21 08:06 c0rrre

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)

tomacco81 avatar Jun 08 '21 03:06 tomacco81

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.

SchuhMichael avatar Jun 09 '21 11:06 SchuhMichael