On my raspberry pi I recently got some weird issues with using webdriver.Firefox
so I decided to switch to chromedriver, which I am more used to anyway, as I use it when testing stuff on my desktop. I freshly installed chromedriver and made sure chromium was on the latest version, but I got the following error when trying to run my program:
selenium.common.exceptions.WebDriverException: Message: Service /usr/lib/chromium-browser/chromedriver unexpectedly exited. Status code was: 127
So I looked on the internet for possible solutions, but the ones I could find either didn't involve chromedriver (I still tried some of those solutions but it didn't work), or involved updating chromium/chromedriver, which are already up-to-date. Just to be sure I also updated selenium python, but that didn't help either.
To be more clear, it's throwing that error on the following line of code:
driver = webdriver.Chrome("/usr/lib/chromium-browser/chromedriver")
Not a duplicate of WebDriverException: Message: Service chromedriver unexpectedly exited. Status code was: 127, since, as I've mentioned, certain things (including the anwers to thatq uestion) didn't work for me, moreover, I'm using a different OS.