Context switching failing in the mobile apps with chrome version 115.XX.XX.XX

256 Views Asked by At

Exception: CONTEXT SWITCHER: Exception while switching context: Message: An unknown server-side error occurred while processing the command. Original error: No Chromedriver found that can automate Chrome '115.0.5790'. E Stacktrace: E UnknownError: An unknown server-side error occurred while processing the command. Original error: No Chromedriver found that can automate Chrome '115.0.5790'.

I have chrome driver version 115.0.5790.170 in the env path.

I have upgraded my selenium version 4.11.2 and appium python client to 2.11.1

I have tried chrome driver version 114 and 115, both failed.

1

There are 1 best solutions below

2
Sushem On

Try using --allow-insecure chromedriver_autodownload flag while starting appium, the issue with chromedriver is you require exact version and a version mismatch throws the error you are getting.