Questions tagged [selenium-docker]
28 questions
4
votes
1 answer
RSelenium findElement works with firefox:2.53.1 but not with firefox:latest
I run Selenium with docker like this:
docker run -d -p 4445:4444 selenium/standalone-firefox:2.53.1
and this line remDr$findElement(using = "class", "percent") in the following R Script works fine.
library("tidyverse")
library("RSelenium")
# A…

ixodid
- 2,180
- 1
- 19
- 46
3
votes
1 answer
Selenium docker video doesn't work by network_mode as host in docker-compose
In docker-compose file, I set contained with chrome-standalone image and another node (named test) as test runner. Cloudbuild.yaml file triggers test and it works.
Here is the docker-compose file:
version: "3"
services:
selenium:
image:…

Furkan
- 505
- 4
- 12
2
votes
1 answer
org.openqa.selenium.WebDriverException: Unable to parse remote response:
I created a Selenium standalone Firefox docker container and started the session in Host port:4545
docker run -d -p 4545:4444 --shm-size 2g selenium/standalone-firefox:3.141.59
I checked with http://localhost:4545/ if opening or not. It worked…

Arka
- 101
- 1
- 8
2
votes
1 answer
Selenium on Docker: Testing a Docker Image within the same `docker-compose` file
Scenario:
Docker Image that runs my app on localhost:9000
Docker Images with the Selenium Webdriver
Selenium tests that I want to run against.
I started from this SeleniumHQ/docker-selenium
Docker Compose:
version: "3.1"
services:
my-app:
…

pme
- 14,156
- 3
- 52
- 95
2
votes
1 answer
Docker-for-selenium on Windows
Currently selenium HQ/docker-for-selenium is available for Linux os.
Here they are trying to implement selenium grid using docker, on Linux.
My main aim is achieving the same in windows. I am unaware what challenges I will face here.
So creating…

Akshay barahate
- 649
- 8
- 23
1
vote
0 answers
How to run Selenium WebDriver on a docker container and use it on Airflow?
I am trying to run webdriver on a docker container without success. Docker is running on a Windows machine.
Below is the simple DAG that I am using.
from airflow import DAG
from airflow.operators.python import PythonOperator
from datetime import…

panos
- 23
- 4
1
vote
2 answers
Can't access dockerized app url in selenium dockerized image
I've dockerized vue.js app running on localhost:8090 on a VM server. I've connected that VM server to my VS Code using SSH and was able to access the vue.js app on my local machine's chrome browser after port forwarding.
But in the same VM, there's…

Raheel Siddiqui
- 95
- 6
1
vote
1 answer
Test runner node cannot see selenium-hub. Getting Error: ECONNREFUSED connect ECONNREFUSED 127.0.0.1:4444
In a nutshell, there is additional container as a test runner which cannot reach the selenium-hub. So, tests are failed.
This container was added for running test on cloud by using cloud build.
I created docker-compose as below:
version: "3"
…

Furkan
- 505
- 4
- 12
1
vote
1 answer
Failed to create multiple containers using docker python SDk
I am using python docker SDK to create multiple chrome containers. Below is my script
Here first I have pull docker image then try to create 2 containers out it. But it is failing with an error message that ports are already in use but I am…

New techi
- 13
- 2
1
vote
0 answers
This site can't be reached error while trying to run selenium WebDriver script with selenium docker chrome node
I am trying to run selenium tests on docker with selenium docker chrome node. We are running this on windows 7. Since docker does not support windows 7, we are using vagrant to create linux box and then run selenium hub and selenium node/chrome…

parminder
- 11
- 2
1
vote
1 answer
Container is exiting on its own & not able to exec into it
I am trying to build and container image & then trying to run the enter the container after running it. But I am getting error response from daemon.
My Docker file -
COPY . /app
RUN sudo chmod 777 -R /app
WORKDIR /app
ADD entry_point.sh…

Ketan Bijwe
- 59
- 6
1
vote
0 answers
Could not extract the browser console logs from standalone-chrome-debug docker container
I am trying to extract the browser console logs for my tests which are running on standalone-chrome-debug container on different server. I do not get the logs when in run on docker container.
However when i run the same test on my local machine with…

Paresh Danej
- 11
- 2
1
vote
1 answer
Selenium Hub - create a reusable profile
I need to execute integration testing using Python code and Selenium HUB driver.
I'm planning to use remote driver (I'm using Selenium HUB docker image on https://github.com/SeleniumHQ/docker-selenium).
I am unable to figure out how to create a…

user3925023
- 667
- 6
- 25
1
vote
1 answer
How to fix "Connection Refused" error while connecting with Selenium Docker Firefox container from Selenium RemoteWebDriver?
I have been trying to learn Docker by creating a Docker container for Standalone-Firefox browser and connecting it using Selenium RemoteWebDriver.
I have installed a docker image and made sure it is running. I am trying to access Google.com and…

Aditya Wagholikar
- 133
- 6
0
votes
0 answers
Docker selenium firefox image creation issue
I'm trying to create a selenium firefox node image. I've added the "COPY generate_config /opt/bin/generate_config" command to copy the generate_config file from local. Then when I run the command "RUN /opt/bin/generate_config >…