Discussion:
[selenium-users] Linux chromedriver version:2.44 , chrome
t***@gmail.com
2018-12-05 10:00:34 UTC
Permalink
OS: Docker, CentOS 7 + jdk1.8Chrome: 70chrome-driver: 2.44selenium: 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
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/f2abf686-9192-4559-b8fd-b2d4f8d3c250%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...