Questions tagged [selenium-webdriver]

17 questions
8
votes
1 answer

Running Selenium & Firefox & geckodriver on Raspberry Pi 2 Model B

I'm trying to run Selenium on my Raspberry Pi 2 Model B but I'm having trouble finding a compatible combination of versions of Selenium, Firefox, and geckodriver. (I've already run sudo apt-get update, upgrade and dist-upgrade.) Using "old"…
ConvexMartian
  • 181
  • 1
  • 1
  • 4
8
votes
3 answers

Can I run Selenium webdriver using Firefox as the browser?

I would like to set up the Raspberry Pi as a client that exclusively runs FireFox as a client in a Selenium grid. Has anyone tried and got this to work? Are there any tips or pitfalls that I will need to be aware of?
Bruce McLeod
  • 189
  • 1
  • 2
  • 5
4
votes
1 answer

ruby and selenium-webdriver -> Address family not supported by protocol - socket(2) (Errno::EAFNOSUPPORT)

I want to run a ruby script on my Raspberry Pi. I've installed ruby via rvm. I'm sure, i'm using the right version: $ rvm current ruby-1.9.3-p194 when i run my script, then i get following: ./test.rb…
cupakob
  • 1,057
  • 3
  • 13
  • 17
4
votes
2 answers

Selenium won't run on my raspberry pi 3 Model B+

Today I recieved my Raspberry pi 3 Model B+. I downloaded NOOBS and installed it on my raspberry pi. However, I cannot run a selenium browser on it. I have tried to install iceweasel but it says that package is not available. I tried and installed…
Paul Shan
  • 41
  • 1
  • 1
  • 2
3
votes
2 answers

chromedriver and selenium-webdriver -> unable to connect to chromedriver http://127.0.0.1:9515

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…
cupakob
  • 1,057
  • 3
  • 13
  • 17
3
votes
0 answers

Run RSelenium on Raspberry pi

I am attempting to move an rselenium script to a raspberry pi 3. Before going into and editing the script, I am testing if it is possible to run rselenium on the pi by just attempting simple open and navigate commands. R version is 3.6.1. I…
RAH
  • 131
  • 2
2
votes
4 answers

Latest Firefox/Chrome possibilities

I have a project that requires me to run Selenium. For this I need webdriver to interact with browsers. I have a Raspberry Pi 3 running the latest Raspbian. Currently I was only able to get Chromium 56 and Firefox ESR 45. However the webdriver do…
Zabuzard
  • 141
  • 1
  • 7
2
votes
0 answers

Selenium WebDriver through authenticated proxy in headless mode alternative (via OpenVPN?)

I discovered, that it is not easily possible for me to use proxies with the Selenium WebDriver due to selenium-wire not running in headless mode. Is it possible to use vpn-packages like OpenVPN to route the outgoing HTTP calls through my given…
Felix N
  • 21
  • 1
2
votes
0 answers

Need to take a screenshot headless

I have a weather station and take a screenshot of a webpage (windy.com) once an hour to integrate into my display which runs on a Pi 3 It was working perfectly until I had an SD card crash and had to rebuild it - I stupidly didn't have a backup of…
1
vote
1 answer

HOW TO: Schedule in crontab a Python script with Selenium driver to show chromium browser on DISPLAY :0.0

I would like run a specific moment a python script to show with selenium the chromium browser on DISPLAY :0.0 . 00 11 * * * pi export DISPLAY=:0.0 && "/usr/bin/python2.7 /home/pi/Desktop/script.py" Example python script: #!/usr/bin/python #…
Francesco
  • 143
  • 1
  • 5
0
votes
3 answers

Running Selenium On Raspberry Pi: Possible GeckoDriver Issue

I'm fairly new to Pi's and Python and trying to run selenium to try to do a web automated program on my PI Model B. I have everything installed and just trying to run a simple command like: from selenium import webdriver browser =…
Ethan
  • 1
  • 1
  • 2
0
votes
1 answer

Selenium fails due to st' object has no attribute capabilities despite matching chromium driver with chromium

When trying to get Chromium going with selenium I constantly get the following error chromedriver Traceback (most recent call last): File "/home/admin/.local/lib/python3.9/site-packages/selenium/webdriver/common/driver_finder.py", line 38, in…
CalebK
  • 101
  • 1
  • 3
0
votes
0 answers

install specific version of chromium by source code

I need to run the source code of Chromium(86.0.4240.197) which is in a tar.gz package. However, when I extract the package runnig tar xf chromium-86.0.4240.197.tar.gz nothing happens. . Is there another way to build it?
maic0L
  • 1
0
votes
0 answers

How can I keep a VNC session running when not connected to it?

I'm running a scraping bot with selenium, and to get results as stable as possible I'm running a chrome instance from a VNC desktop and then attaching selenium to it ; it's not headless and allows me to diagnose anything going wrong easily. Of…
ouai
  • 101
0
votes
0 answers

Is there a way for me to automate the file manager on my Raspberry pi 3B running Raspbian?

I am currently working on a project that edits photos of mine and then uploads those photos to a google site. I'm using Selenium to upload the photos to the portfolio site, and I have gotten all the way to the part where I cal select the file I want…
1
2