Java Client: Please Merge Pr 1966 to fix Chrome 115 incompatibility

Hey,

we are facing issues using Appium with Chrome webviews:

Webviewio.appium.java_client.NoSuchContextException: An unknown server-side error occurred while processing the command. Original error: No Chromedriver found that can automate Chrome ‘115.0.5790’. Build info: version: ‘4.9.1’, revision: ‘eb2032df7f’ System info: os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘11.0.19’ Driver info: io.appium.java_client.android.AndroidDriver Command: [abb3a298-b300-4e48-9fd3-5c73d2e60f9a, switchToContext

The root cause seem’s to be this: https://chromedriver.chromium.org/downloads/version-selection

The fix would be using a newer webdriver manager: https://github.com/bonigarcia/webdrivermanager/blob/master/CHANGELOG.md

“Use Chrome for Testing (CfT) JSON endpoints for version discovering as of chromedriver 115”

Dependabod opened a PR https://github.com/appium/java-client/pull/1966 but it fails, because webdriver manager droped Java 8 support.

“Bump to Java 11 (required in Selenium as of September 30, 2023). See https://www.selenium.dev/blog/2023/java-8-support/

so please “Bump to Java 11” and drop the Appium Java Client CI / JDK 8 - macos-latest (pull_request) test

I assume your issue has nothing to do with the client and what really needs to be done is to update the UiAutomator2 driver, so it includes the recent chromedriver additions. In particular https://github.com/appium/appium-chromedriver/pull/333