You can find the ChromeDriver versions compatible with WebDriver here: https://developer.chrome.com/docs/chromedriver/downloads?hl=fr
For newer Chrome versions that aren’t officially supported yet, you’ll need to download ChromeDriver manually.
These versions are available here: https://googlechromelabs.github.io/chrome-for-testing/
If the ChromeDriver version doesn’t match your Chrome version, you might see an error like this:
ERROR webdriver: WebDriverError: No Chromedriver found that can automate Chrome '140.0.7339'. You could also try enabling automated ChromeDriver downloads as a possible workaround. when running "context" with method "POST" and args "{"name":"WEBVIEW_com.xxx.zero"}"
It’s crucial to download the correct ChromeDriver version and set its path in your wdio.ts file:
"appium:chromedriverExecutable": "C:/chromedriver-win32/chromedriver.exe"