1

I wnat to run a ruby code with the selenium-webdriver on my raspberry pi. I've installed chromium-browser via apt-get. Ruby and selenium-webdriver are also installed. I've created a symlink for the chromedriver:

ln -s /usr/bin/chromium-browser /usr/bin/chromedriver

When i run my script, i get following:

unable to connect to chromedriver http://127.0.0.1:9515

I've downloaded from the official page the 32bit version of the chromedriver for linux, bit of course doesn't work (Exec format error - /usr/bin/chromedriver).

Is there any way to compile the chromedriver instead to use the binary? Or has someone any idea how to fix the problem?

2

You'll need to compile ChromeDriver for the arm6 architecture. Details can be found on ChromeDriver's Internals site. You can also follow a similar guide "Building Chromium OS for Raspberry Pi (ARMv6)"

  • thanks, but i want to build only the chromedriver, not the full os. I'll contact the development team for that. – cupakob Sep 28 '12 at 10:00
0

On my question, if it's possible to build only chromedriver from source, i get this link as answer:

http://code.google.com/p/chromedriver/wiki/ContributingCode

The easier solution for me was a swich to firefox. So i've installed iceweasel and in the ruby script i'm using now :firefox instead :chrome.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.