Linux chromedriver version:2.44 , chrome version:70,selenium-webdriver 3.141.59 gives DevToolsActive

95 views
Skip to first unread message

tota...@gmail.com

unread,
Dec 5, 2018, 12:59:21 PM12/5/18
to Selenium Users

OS: Docker, CentOS 7 + jdk1.8

Chrome: 70

chrome-driver: 2.44

selenium: 3.141.59


By this way, it works ok:

java -jar selenium-server-standalone-3.141.59.jar

But selenium run with hub + node, in a same docker container, diff directory:

java -jar selenium-server-standalone-3.141.59.jar -role hub -port 5555 -timeout 30 -browserTimeout 60

java -jar selenium-server-standalone-3.141.59.jar -role node -hub http://127.0.0.1:5555/grid/register -maxSession 15 -browser browserName=chrome,version=70.0,maxInstances=10,platform=LINUX

code:

chromeOptions.addArguments("--no-sandbox","--disable-dev-shm-usage","--headless","--disable-gpu","--disable-extensions");

Question:
why still get error:

org.openqa.selenium.WebDriverException: 
unknown error: Chrome failed to start: exited abnormally
  (unknown error: DevToolsActivePort file doesn't exist)
  (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
  (Driver info: chromedriver=2.44.609551 (5d576e9a44fe4c5b6a07e568f1ebc753f1214634),platform=Linux 3.10.0-514.el7.x86_64 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 178 milliseconds

Shubham Sinnarkar

unread,
Sep 13, 2022, 2:11:42 PM9/13/22
to Selenium Users
Did you find solution to this? I am facing a similar issue!
Reply all
Reply to author
Forward
0 new messages