Issues related to browser or driver
note
The article relates only to Chrome, Edge, and Firefox drivers. Desktop and Internet Explorer (IE) drivers are delivered with fixed versions that you can't change. In case of problems with IE, try to change the browser version to the recommended one.
You can identify most driver or browser issues by the common feature: a browser can't start at the beginning of execution.
In this case, a frequent stack trace is as follows: org.openqa.selenium.SessionNotCreatedException: Cannot establish new session.session not created: This version of ChromeDriver only supports Chrome version XX. Current browser version is YY.
This issue can happen with both higher browser and driver versions.
To investigate the issue, act as follows:
Make sure all configurations are correct according to the installation guides:
Check that Chrome driver and browser are compatible—they must have the same major versions.
Check that the browser is installed and can be started manually.
Check that RPA installation is consistent and the RPA server is visible on the Bot Manager UI.
Try to run the browser in the Incognito mode.
If the issue happens immediately after an update of the browser and driver, try to roll back both components as newer driver versions sometimes can be unstable.
Read also: