-
Hi, I was testing SeleniumBase on my windows computer and it works perfectly. However, when I try to execute the same project on my raspberrypi4 it throws an error.
It seems that the uc_driver that is automatically downloaded is not compatible with ARM architecture. I tried searching for a uc_driver to download manually but could not find anything. Any ideas on how to fix this? Many thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Hello. Due to that, there isn't official RaspberryPi support. However, there seems to be a lot of chat about it here: If you can find a chromedriver that supports it, then just rename it to |
Beta Was this translation helpful? Give feedback.
-
Sorry I didn't explain myself crealy. The problem is not the message. The problem is that o Windows the anti-detection works but on the RaspberryPi does not. Exact same code running on both. I mentioned about the message because it shows on Windows but not on the RaspberryPi so I thought it might be a clue on something that runs differently on both architectures. |
Beta Was this translation helpful? Give feedback.
-
Hello, I found that there are arm64 drivers like found on https://github.com/electron/electron/releases . I haven't read lot of UC/SeleniumBase code, but if my understanding is correct, UC applies a patch on the normal chromedriver to make it undetected. A workaround was found : ultrafunkamsterdam/undetected-chromedriver#917 , but Im not sure if it's up to date (have to test), because at first glance, it looks like UC code changed since the workaround was posted. If someone knows how to patch chromdriver as of today, please let it know here :) |
Beta Was this translation helpful? Give feedback.
Hello.
uc_driver
is generated fromchromedriver
, and thechromedriver
downloads page only has one driver for Linux (Ubuntu):Due to that, there isn't official RaspberryPi support. However, there seems to be a lot of chat about it here:
https://github.com/search?q=repo%3Aultrafunkamsterdam%2Fundetected-chromedriver+Raspberry+Pi&type=issues
If you can find a chromedriver that supports it, then just rename it to
uc_driver
and drop it into theseleniumbase/drivers
folder. Then it should work.