fbuetler / asvz-bot

ASVZ Bot to enroll to lessons. Get a place when the registration opens or when a place gets free. Works for ETH, UZH and ZHAW students.
GNU General Public License v3.0
66 stars 25 forks source link

Not working with chromium and linux on raspberry pi as there is no compatible driver #17

Closed kevchef closed 1 year ago

kevchef commented 1 year ago

Thanks for the great work. It is highly appreciated.

After using it on my desktop computer I tried to run the script remotety on a raspberry pi where chrome is not available. Unfortunately this did not work as selenium did not find a matching driver for chromium. Could this be extended to work on raspbian (Firefox)?

fbuetler commented 1 year ago

Hi,

As far as I know, you are right and chrome is not build natively for the raspberry pi. However, you can install chromium with a simple

sudo apt-get update & sudo apt-get install chromium-browser --yes

The script should work with chrome and chromium.

But if you indeed want to run the script with the gecko driver (firefox), this is also possible with some little tweaks of the script. See the webdriver doc and the selenium doc for reference.