12

I need to use Selenium with ChromeDriver on ARMv7 Raspberry Pi 3 (Firefox does not fit in my project), but as there are only pre-compiled binaries for x86 and x64, I tried to compile it from the source code on my own...

But as the Chromium Project uses a lot of tools that I'm not familiar with to compile the source, I couldn't even start the process.

I had searched for hours on the internet how to compile it for ARM family but I couldn't find any tutorial or even a successful story about it.

So, I have two questions:

  1. Is this 'doable'?
  2. Does anyone have any idea of what I can do?
phuclv
  • 37,963
  • 15
  • 156
  • 475
GustavoIP
  • 873
  • 2
  • 8
  • 25

2 Answers2

22

arm64, arm7l, win32-arm64 Electron Unofficial Chromedrivers

https://github.com/electron/electron/releases


Marco D.G.
  • 2,317
  • 17
  • 31
  • what's the arm version of chromedriver for chromium=74.0.3729.157 ? – Eunito Oct 08 '19 at 21:46
  • 1
    @Eunito It appears electron never made a version for chromium=74.0.3729.157. Release [electron v5.0.1](https://github.com/electron/electron/releases/tag/v5.0.1) says, "Updated Chromium to 73.0.3683.121. #18001". Then their next release after it [electron v6.0.0-beta.2](https://github.com/electron/electron/releases/tag/v6.0.0-beta.2) says, "Updated Chromium to 76.0.3783.1. #18116". So it appears they skipped 74.x altogether. I feel a bit out of luck because my raspberry pi running debian seems to only support 74.x as the latest. – ONMNZ Dec 01 '19 at 19:10
  • Thanks a lot for this! I've been searching for ever to find a compatible version of the driver! – najeem May 17 '20 at 15:34
  • @slhck I download the windows or linux executable and run that, the first thing it prints out is the chromedriver version. If you want to automate that I suppose you have to automatically download the latest release linux executable, run that and pipe out the output to a text file. Never tried it thought. – Marco D.G. Feb 18 '21 at 13:50
  • Hello. Where can I find 84.0.4147.141? – Tatuck May 25 '21 at 12:29
  • I am wondering how they build it. I would like to simply do it on my own machine seeing that they skipped Chromedriver 95, but that is what is available on Raspbian currently. – slhck Jan 11 '22 at 08:57
  • you can download new versions here: https://github.com/electron/electron/releases?after=v7.1.5 – Allexj Nov 08 '22 at 17:42
  • sudo apt-get install chromium-chromedriver – Allexj Nov 08 '22 at 18:14
4

web browser - WebDriver support

Web browser that aims to build a safer, faster, and more stable internet browsing experience.

This package provides a bridge between the browser component and the selenium automatic webdriver.

Package: chromium-driver for armhf

Community
  • 1
  • 1