Open GoogleCodeExporter opened 9 years ago
Missed out on attaching the script and the chromedriver.log:
Original comment by abhib...@gmail.com
on 1 Jun 2015 at 10:36
Attachments:
abhibang@
Tested your sample code in environment:-
OS:- Ubuntu 14.04
ChromeDriver(2.15), Chrome(43.0.2357.81) and selenium(2.45)
and I did not observe any such issue. Could you please update ChromeDriver and
Selenium bindings to latest available version and rerun your sample test. If
issue is still reproducible please let us know.
Thanks
Original comment by agau...@chromium.org
on 1 Jun 2015 at 12:03
agau..@
Thanks for your response.
As suggested I've upgraded my selenium binaries by using
selenium-server-standalone-2.45.0.jar and ChromeDriver(2.15) and the issue
still persist.
Stack :
Starting ChromeDriver 2.15.322448 (52179c1b310fec1797c81ea9a20326839860b7d3) on
port 7668
Only local connections are allowed.
Exception in thread "main" org.openqa.selenium.WebDriverException: unknown
error: Chrome failed to start: exited abnormally
(Driver info: chromedriver=2.15.322448 (52179c1b310fec1797c81ea9a20326839860b7d3),platform=Linux 3.8.13-35.3.1.el7uek.x86_64 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 60.22 seconds
Build info: version: '2.45.0', revision: '5017cb8', time: '2015-02-26 23:59:50'
System info: host: 'localhost.localdomain', ip: '<>', os.name: 'Linux',
os.arch: 'amd64', os.version: '3.8.13-35.3.1.el7uek.x86_64', java.version:
'1.8.0_25'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:204)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:156)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:599)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:240)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:126)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:153)
at ChromeTest.main(ChromeTest.java:36)
Attaching the chromedriver.log as well.
Can you please try to mimic the same combination i.e (Red Hat Enterprise Linux
Server release 7.0 (Maipo)), ChromeDriver(2.15), Chrome(43.0.2357.81) and
selenium(2.45) to reproduce the issue.
Thanks in advance for your help.
Original comment by abhib...@gmail.com
on 1 Jun 2015 at 12:37
Attachments:
@abhibang,
From the logs, it shows Chromedriver is trying to launch the system chrome.
[0.626][INFO]: Launching chrome: /opt/google/chrome
--disable-background-networking --disable-client-side-phishing-detection
--disable-component-update --disable-default-apps --disable-hang-monitor
--disable-prompt-on-repost --disable-sync --disable-web-resources
--enable-logging --ignore-certificate-errors
--load-extension=/tmp/.com.google.Chrome.d1jgAQ/internal --log-level=0
--metrics-recording-only --no-first-run --password-store=basic
--remote-debugging-port=12963 --safebrowsing-disable-auto-update
--safebrowsing-disable-download-protection --test-type=webdriver
--use-mock-keychain --user-data-dir=/tmp/.com.google.Chrome.4LkqBw data:,
And looks like , you do not have the stable released version of chrome
installed on your system and therefore it is failing.
If you want to launch rpm chrome through chromedriver, you would need to set
the binary path of it
ChromeOptions options = new ChromeOptions();
options.setBinary("/path/to/the/rpm/chrome");
WebDriver driver = new ChromeDriver(options);
Can you please try and let us know?
Original comment by gmanikp...@chromium.org
on 5 Jun 2015 at 6:37
abhibang @
please try with latest version of chromedriver:2.16 and chrome using sample
code provided in comment #4 and let us know if you still seeing the issue.
Original comment by ssudunag...@chromium.org
on 6 Jul 2015 at 12:44
The same problem, chromedriver 2.20. Chromedriver log: "....[60,162][INFO]: RESPONSE InitSession unknown error: Chrome failed to start: exited abnormally"
@kenksis me too, same chromedriver version trying to call it from with builder ("selenium-webdriver": "2.47.0") did you find any solution?
Hi. Unfortunately, not yet found. While use windows. Sorry for my English. I use google-translate
Среда, 16 декабря 2015, 4:55 -08:00 от Jan Viktor Apel notifications@github.com:
@kenksis me too, same chromedriver version trying to call it from with builder ("selenium-webdriver": "2.47.0") did you find any solution? — Reply to this email directly or view it on GitHub .
С уважением, Евгений Кравцов
same with u
Original issue reported on code.google.com by
abhib...@gmail.com
on 1 Jun 2015 at 10:32