Questions tagged selenium-chromedriver

Explore the latest questions and answers asked by our top developers.

Running cucumber tests in Jenkins – chromedriver 127 error

I’m trying to run cucumber tests on Jenkins. My Jenkinsfile is: pipeline { agent { docker { registryCredentialsId ‘dockerhub-read’ image ‘node:16-stretch’ reuseNode true } } parameters { string(name: ‘X_VAULT_TOKEN’, defaultValue: ”, description: ‘Token for connection with Vault’) string(name: ‘SUITE_ACCOUNT’, defaultValue: ”, description: ‘Account on which scenario/scenarios will be executed’) string(name: ‘Scenario’, defaultValue: ”, description: ‘Scenario […]

Driver info: driver.version: unknown error running Selenium and Codeception in DDEV (Mac M1)

I was using VirtualBox for development when i had a windows pc. Later i bought a Macbook M1 and installed the DDEV instead of VirtualBox. In my old development virtualbox, i installed selenium and chromedriver in Virtualbox. With this setup i could run Codeception Tests. Since i’m using DDEV for development, i tired to install […]

Open Chrome with Rails Feature Spec using Docker

I can’t figure out how to make the feature specs work when running non-headless feature specs for Rails in Docker. I can get the Chrome to open, but I’m getting ERR_EMPTY_RESPONSE (basically, it’s blank) Commands: # chromedriver on the host chromedriver –whitelisted-ips # run the test docker compose run –rm -e "RAILS_ENV=test" -e "HEADLESS=false" web […]

Chromedriver executable path not found in Docker Container autoinstaller

I have a question: In my scrape.py I set WebDriver using a function nastav_driver(): from selenium import webdriver from selenium.common.exceptions import NoSuchElementException from selenium.webdriver.chrome.webdriver import WebDriver import utils def nastav_driver() -> WebDriver: options = webdriver.ChromeOptions() options.add_argument("–start-maximized") driver = webdriver.Chrome(utils.PATH_CHROMIUM, options=options) return driver where utils.PATH_CHROMIUM is /usr/lib/chromium-browser/chromedriver. When I run the script, everything is OK. But […]

NodeJS Javascript – ChromeDriver – Script works fine in Windows. In Docker gives ElementNotFoundException

I have an automation script which is in NodeJS JavaScript which uses chromedriver and selenium-webdriver. It runs perfectly fine in Windows but in Docker container it gives ElementNotFoundException. The chrome version and chromedriver version matches. Following is the JavaScript file: require("chromedriver"); const {By,Key,Builder} = require("selenium-webdriver"); const chrome = require(‘selenium-webdriver/chrome’); async function functionA(){ const url = […]

Docker – WebDriverError: unknown error: Chrome failed to start: exited abnormally – JavaScript – ChromeDriver

Here is my docker file. FROM node:17.2.0 USER root WORKDIR /LT RUN apt-get update RUN apt-get install git –yes COPY /LT . COPY /LT/test . COPY ["/LT/package.json", "."] # Install Google Chrome RUN apt-get install wget RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb RUN apt-get install ./google-chrome*.deb –yes ENV CHROME_BIN=/usr/bin/google-chrome RUN npm install RUN npm ci RUN npm install […]

Running in to incorrect chromedriver version in docker container

I have installed this docker images from a host with selenium hub and Chrome-node-debug. Till today I was able to run my Protractor scripts but all of sudden today it started giving me the following issue. Not sure why the versions are not matching with the driver in the host. I even tried to update […]

UnhandledPromiseRejectionWarning: WebDriverError: unknown error: Chrome failed to start: crashed error running Selenium tests with docker-compose

while trying to run slenium tests from docker which we use in most projects i get this error saying chrome has crashed i ‘ve both google chrome and chrome driver installed and working fine any help with this ? (node:231) UnhandledPromiseRejectionWarning: WebDriverError: unknown error: Chrome failed to start: crashed. (chrome not reachable) (The process started […]

.net 5 Selenium webdriver not working in docker container error : No such file or directory

I have an issue with the selenium webdriver with .net need your help. I am using .net 5 and trying to run Selenium Webdriver on a Linux Docker Container and getting the "System.ComponentModel.Win32Exception No such file or directory" error. I thought chromedriver file doesn’t exist. But I have checked the path is correct, even I […]

Issue trying to run javascript unit tests with Intern through a Chrome Driver on a Selenium Docker Image

I’m trying to run my javascript unit tests with Intern through a Chrome Driver on a Selenium Docker Image (Note: These tests run fine for me through local versions of Intern and Selenium). So far I have done the following 5 steps: Pulled down Standalone Chrome image: docker pull selenium/standalone-chrome Ran a Standalone Chrome container: […]

1 2 3 9

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq