Category : selenium-webdriver

I tried to execute the karate script using webdriver docker containers – selenium/node-chrome-debug:latest and selenium/node-firefox-debug:latest. I could able to execute the karate script in chrome container but not in firefox container . Its throwing – http response code: 500 "Reached error page: about:neterror?e=connectionFailure" , although proxy is set , its not loading any page instead ..

Read more

I’m trying to connect selenium inside docker container in Python. I’m using M1 mac. The steps I took were $ docker run -d -p 4444:4444 –shm-size="2g" selenium/standalone-chrome:4.0.0-rc-1-prerelease-20210804 (This command was referenced from https://github.com/SeleniumHQ/docker-selenium ) executing Python code below. from selenium import webdriver from selenium.webdriver.common.desired_capabilities import DesiredCapabilities driver = webdriver.Remote( command_executor="http://localhost:4444/wd/hub", desired_capabilities=DesiredCapabilities.CHROME ) driver.get("https://stackoverflow.com/") print(driver.title) driver.quit() ..

Read more

I have 3 docker containers: Web app End to end tests: These are selenium tests for the above web app Selenium: I am using this: https://hub.docker.com/r/selenium/standalone-chrome I am spinning up the containers with compose as follows: web-app: build: context: . dockerfile: web.dockerfile image: web-app command: poetry run ./manage.py runserver 0.0.0.0:8000 ports: – 8000:8000 e2e-tests: build: ..

Read more