This error message…
[30.168][SEVERE]: Timed out receiving message from renderer: 20.000
…implies that the ChromeDriver was unable to initiate a new Chrome browser process.
Your main issue is the version compatibility between the binaries you are using as follows :
- You are using chromedriver=2.33
- Release Notes of chromedriver=2.33 clearly mentions the following :
Supports Chrome v60-62
- You are using chrome=64.0
- Release Notes of ChromeDriver v2.35 clearly mentions the following :
Supports Chrome v62-64 (includes the browser version you are using)
- Your Selenium Client version is 3.8.1.
- Your JDK version is 1.8.0_151 which is pretty older.
So there is a clear mismatch between the JDK v8u151 , Selenium Client v3.8.1 , ChromeDriver v2.33 and Chrome Browser v64.0
Solution
- Upgrade JDK to recent levels JDK 8u162.
- Upgrade Selenium to current levels Version 3.11.0.
- Upgrade ChromeDriver to current ChromeDriver v2.38 level.
- Keep Chrome version at Chrome v66.x levels. (as per ChromeDriver v2.38 release notes)
- Clean your Project Workspace through your IDE and Rebuild your project with required dependencies only.
- Use CCleaner tool to wipe off all the OS chores before and after the execution of your Test Suite.
- If your base Web Client version is too old, then uninstall it through Revo Uninstaller and install a recent GA and released version of Web Client.
- Take a System Reboot.
- Execute your
@Test
.