Questions tagged [selenium-docker]

28 questions
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

Selenium hub running on Docker POD in HTTPS mode, failed to add nodes from a standalone macos (Adding nodes from Mac OS)

Step 1: Start selenium hub on a kubernetes POD with Secure connection. At step1, selenium hub started and able to access the grid (https://seleniumhub/wd/status) Step 2: From standalone macos system, try to add the nodes with the below command. java…
0
votes
0 answers

org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: Could not start a new session

I like to run a selenium java test in a docker container. I was able to pull chrome image and created docker containers just fine. Then I configured remote webdriver by pointing to localhost of docker port. When I run the testNG test, I get the…
GreenTree
  • 53
  • 1
  • 3
  • 14
0
votes
1 answer

Selenium docker dynamic grid set timezone to containers generated dynamically

I'm trying to run selenium hub with nodes generated dynamically with docker. Here is my docker compose file. node-docker: image: selenium/node-docker:${SELENIUM_DOCKER_TAG} container_name: node-docker volumes: -…
Anass
  • 26
  • 1
  • 6
0
votes
1 answer

Selenium Grid parallel execution only run few test cases on the docker chrome nodes

Right now i have 80 test method (@Test) using data provider I am running my test case and its almost 400 test cases. When I run it in selenium grid parallel then it only run few test case. Some times 40 some time 50 randomly its running Here is my…
0
votes
2 answers

Selenium grid 4 : Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure error

Trying to set up selenium 4 grid with the below docker-compose file but getting the "Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure" error and need some help to fix the…
Dhamo
  • 1,171
  • 3
  • 19
  • 41
0
votes
1 answer

How do I use selenium with docker-compose

I just want to open the driver with selenium-docker, but for some reason I can't connect to the host My repository: https://github.com/ribeirosaimon/selenium_teste << I need to wait Browser, Thx! >>
0
votes
0 answers

I need to run standalone-chrome-debug in offline mode

I have a linux server, with no connectivity to github (it's blocked in our office), and need to run standalone-chrome-debug docker image. So in my side, i clone the repo and transfer it to the linux machine, but when i run the docker command: docker…
user2274204
  • 315
  • 3
  • 6
  • 18
0
votes
0 answers

How to run my local application in a container

I have built my application locally and accessible locally. Something like 'http://localhost:4200/admin/login' works fine. An i have my automation suite that i want to execute in a selenium grid environment. So I created a hub and node and they are…
Uday
  • 1,433
  • 10
  • 36
  • 57
0
votes
1 answer

How to create multiple selenium docker nodes dynamically?

I wanted to create a Jenkins Job that could remove and create Selenium grid HUB/Node before my automation execution starts. The job should be able to create number of nodes based on the job parameter. Request if some one could provide the code to…
0
votes
1 answer

How to add additional dependencies to chrome standalone image

I am trying to run chrome container. This works for me: [practice]$ docker run -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/standalone-chrome b7d63881869721fe66a4f00de4be7a3bfb8e922410776a7c35f827bfd08f9455 [practice]$ docker container ls CONTAINER…
Saurabh Shrivastava
  • 1,394
  • 4
  • 21
  • 50
0
votes
0 answers

Docker - Selenium Hub

I'm using a Docker image for Selenium (selenium/standalone-chrome). My goal is to use it for integration testing with some python scripts. Everything works pretty fine, I'm using the driver with remote: browser =…
user3925023
  • 667
  • 6
  • 25
-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…
1
2