This error message...
This version of ChromeDriver only supports Chrome version 86 Current browser version is 88.0.4324.104 with binary path C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
...implies that you are using ChromeDriver v86.x where as your Chrome Browser version is v88.0.4324.104.
Your main issue is the incompatibility between the version of the binaries you are using as follows:
- You are using chromedriver=86.0
- Release Notes of chromedriver=86.0 clearly mentions the following :
Supports Chrome version 86
Supports Chrome version 88
So there is a clear mismatch between chromedriver=86.0 and the ChromeDriver 88.0.4324.96
Solution
Ensure that:
- ChromeDriver is updated to current ChromeDriver v88.0.4324.96 level.
- Execute your
@Test
as non-root user.
- Always invoke
driver.quit()
within tearDown(){}
method to close & destroy the WebDriver and Web Client instances gracefully.