Questions tagged [docker-selenium]

For questions about using Docker images for running a Selenium Grid server.

See https://github.com/SeleniumHQ/docker-selenium

15 questions
9
votes
1 answer

How to avoid authentication when connecting to standalone chrome debug container?

I am using selenium/standalone-chrome-debug. By default connecting to the container via VNC will trigger an authentication prompt which can be avoided by setting an environment variable as per the documentation: If you want to run VNC without…
customcommander
  • 17,580
  • 5
  • 58
  • 84
1
vote
0 answers

Python with Selenium Crash in Docker envirement: selenium.common.exceptions.InvalidSessionIdException: Message: Invalid Session Id

I have small service which parses some data from particular site. It was writed with Python 3.10 and Selenium 4.10.0. It works but after some time (5-15 minutes) it crashes. The exception was like: Traceback (most recent call last): app | …
1
vote
0 answers

Intermittently selenium tests are failing with "java.net.http.HttpTimeoutException" error while opening application urll

While running suite on selenium grid 4.8.1, I am intermittently getting below error while opening the url itself. I am using below configuration: selenium grid version 4.8.1 chrome version 110 Running on docker selenium grid setup on RHEL liniux…
1
vote
0 answers

Docker Selenium VPN: How to access internal or QA website on Docker container

I am trying to run selenium automation on QA/Staging server on Docker chrome container. I am using following code from https://github.com/SeleniumHQ/docker-selenium/blob/trunk/docker-compose-v3.yml to setup all containers. version: "3" services: …
1
vote
0 answers

Can't connect RSelenium to Selenium server: "Timeout was reached"

I'm totally new to Selenium and RSelenium. I installed Docker and made it run a Selenium image, but I'm stuck at connecting to it through RSelenium package. I've tried passing many different arguments to remoteDriver(), but whenever I try to $open()…
Igor Calado
  • 39
  • 1
  • 1
  • 3
1
vote
1 answer

docker-selenium nodes do not connect to hub - no route to host

I recently migrated our grid from an older RHEL7 server to a new RHEL8 server. When I run docker-compose on the new machine, the nodes do not connect to the hub. docker-compose.yml version: "3" services: selenium-hub: image:…
Chs
  • 131
  • 1
  • 6
0
votes
0 answers

web scraping with Rselenium and docker standalone image

Once again I have read many threads on the subject without being able to understand... I am using Rselenium and selenium standalone images with Docker on a Ubuntu 22.04 OS. The following code works just fine when using docker image…
elka
  • 35
  • 6
0
votes
0 answers

Mac running RSelenium very slow through Docker

I have a problem when I run simple RSelenium code through Docker with the selenium/standalone-chrome container. Half the time the code crashes and does not work due to an unknown error in R that I believe it just a time out. I also have to restart…
grant
  • 1
0
votes
1 answer

Selenium Grid (v4) session "Duration" goes beyoung 10days

We have a Selenium Grid setup via docker on an ubuntu machine with the following settings # To execute this docker-compose yml file use `docker-compose -f docker-compose-v3.yml up` # Add the `-d` flag at the end for detached execution # To stop the…
igor
  • 33
  • 1
  • 6
0
votes
0 answers

no configuration file provided: not found for docker compose up --scale chrome=5

This might look similar to this existing solution but I have tried all the solutions mentioned there and none seems to resolve my issue. I have created a docker compose file , Docker-Compose-V3.yml. On running docker-compose -f docker-compose-v3.yml…
Kovid Mehta
  • 531
  • 2
  • 8
  • 28
0
votes
1 answer

NoSuchWindow error when I try to use Facebook sign in using RSelenium

I am trying to log in to a site that uses facebook login, using RSelenium. I can enter my email and password and click login, but then returns a "NoSuchWindow" error. Is this because the Facebook login tab automatically closes? How can I prevent…
0
votes
1 answer

Unable to pull few public docker image

Using win 10 Enterprise Installed docker for windows latest version. WSL integration available Ubuntu-18.04 Logged in to docker in power shell docker pull selenium/node-chrome fails with error filesystem layer verification failed for digest…
SSP
  • 85
  • 7
0
votes
1 answer

Selenium- Docker Infrastructure - Unable to establish an Selenium Grid with Edge Image

I am trying to set up an Selenium Grid to run test in Edge Browser. I am trying to set this up in my local Mac OS machine and if all is good, I will set it up in the Build machine. The issue I am facing is the Selenium Node ( Edge Image ) not able…
0
votes
1 answer

Handling pop-up Authentication windows in Rselenium

Does anyone in this community have any idea how handle (how key in username and password) in pop up window when web-scraping with RSelenium? I am trying to log into the following-data portal and automate bulk download. webpage:…
-1
votes
1 answer

Is dockerized Selenium in Python a resource hungry process?

I read in an old thread that the dockerized selenium grid is a resource hungry process. I am trying to run 250 to 300 selenium tests in parallel, and after some research I found out I have 3 options: 1: multi threading 2: multi processing 3: running…