Tests not loading when executing with Chrome version 92, 93, 94 in Windows
When executing tests in KRE in console mode on Windows with Chrome version 92.x, 93.x or 94.x, you might come across the following error: SessionNotCreatedException: Message: session not created from timeout: Timed out receiving message from renderer: 600.000
.
This is an issue from Chrome version 93.x and 94.x that doesn't allow the ChromeDriver to start as a Windows service. Here are two workarounds for this issue:
Set
--disable-gpu
for the desired capability in Project > Settings > Desired Capabilities > Web UI > Chrome. Click Add, then input as follows:Name | Type | Value |
---|---|---|
args | List | --disable-gpu |
OR
Downgrade to Chrome of lower version. To downgrade ChromeDriver versions, you can refer to this guide: Update or Downgrade WebDrivers.