Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 99408

Selenium/standalone-firefox docker on raspberry pi not working

$
0
0

I am trying to use RSelenium on a raspberry pi 3 B+. I managed to get R and RSelenium installed.

I first tried to use rsDriver(browser = "firefox"), but I did not manage to get it work (it ends up with an error saying Could not open firefox browser). As I know that it is recommended to use RSelenium with docker, I am trying to get docker run a Selenium/firefox standalone container.

I managed to get docker up and running. The hello-world run works, as well as an ubuntu bash (docker run -it ubuntu bash gets me an ubuntu terminal).

I pulled a standalone-firefox image with a given version (the 3)

here are the images I have:

ubuntu                        latest              f576a39bda44        2 weeks ago         46.7MB
selenium/standalone-firefox   3                   d803a00f9219        3 weeks ago         756MB
hello-world                   latest              618e43431df9        10 months ago       1.64kB

I then do

sudo docker run -d -p 4445:4444 selenium/standalone-firefox:3

But there is no container when I do docker ps, and

sudo docker ps -a
CONTAINER ID        IMAGE                           COMMAND                  CREATED             STATUS                      PORTS               NAMES
351866263f7b        selenium/standalone-firefox:3   "/opt/bin/entry_poin…"   10 seconds ago      Exited (1) 6 seconds ago                        fervent_noether

shows that the container exited directly when executed. I tried with standalone-firefox:2.53.0 (pulling and executing), and it resulted in the same problem. What I am doing wrong ? The version of standalone-firefox is not supported by the raspberry pi ?

More generally, does someone know how to get RSelenium working on a raspberry pi (with firefox as browser)?


Viewing all articles
Browse latest Browse all 99408

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>