Capabilities issue with Selenium webdrive support version 4.17 in .Net

238 views Asked by At

I have upgraded Selenium WebDriver from 4.7 to 4.17.

but while launching Chrome, I got the below error message:

Capabilities = {{
  "message": "session not created exception: Missing or invalid capabilities\n  (Driver info: chromedriver=2.33.506120 (e3e53437346286c0bc2d2dc9aa4915ba81d9023f),platform=Windows NT 10.0.19045 x86_64)"
}}

I tried to downgrade package from 4.17 to 4.10 sequentially but facing same error with all versions.

It is working fine with 4.9 version.

Please let me know if have any suggestions to resolve this?

Thanks in advance :)

1

There are 1 answers

0
Swati Bankar On

1.Go to Environment variable>>System variable>>Path>>Initially remove old chrome exe path first

2.Go to C: driver Program Files >> bin >> Remove old chrome driver folder

3.Go to Environment variable>>System variable>>Path>> Add new path as (C:\Program Files(X86)\Google\Chrome\Application)

CC:@Abhijeet Unde