I am new in automation testing and I am facing the following error. I am not able to proceed further. Can someone help me out in this : {Error}
Starting Chro
You should Update to latest ChromeDriver that is 2.33. Hope it will resolve your issues.
The error says it all :
Exception in thread "main" org.openqa.selenium.WebDriverException: disconnected: unable to connect to renderer
(Session info: chrome=64.0.3282.140)
(Driver info: chromedriver=2.31.488763 (092de99f48a300323ecf8c2a4e2e7cab51de5ba8),platform=Windows NT 6.1.7601 SP1 x86) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 2.03 seconds
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'ALPSCMO-QA10', ip: '10.50.7.126', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0_112'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Your main issue is the version compatibility among the binaries you are using as follows :
chromedriver=2.31
Supports Chrome v58-60
chrome=64.0
Supports Chrome v62-64
Selenium Client
is not getting detected, so we are unable to know the Selenium Client
version.JDK version
is 1.8.0_112
which is pretty ancient.So there is a clear mismatch between the JDK version , Selenium Client version , ChromeDriver version (v2.31) and the Chrome Browser version (v64.0)
JDK
to recent levels JDK Version 8 Update 151
.Selenium
to current levels Version 3.8.1
.ChromeDriver
to ChromeDriver v2.35
level.Chrome
to Chrome v64.x
levels. (as per ChromeDriver v2.35 release notes)Test
.