Open vjramt opened 6 months ago
I have tried https://github.com/appium/java-client?tab=readme-ov-file#compatibility-matrix with the versions mentioned. Selenium 4.13.0 works fine with Appium 8.5.1. Latest version of Selenium doesn't have any compatible Appium versions
@KazuCocoa - Let me know if you have any stable appium version that works with Selenium 4.18.1 Let me know if you need any additional details ?
I assume you're saying Appium Java Client version from the description. Appium server log as you said "not working" may help to help.
Attached screenshot for more error details. The same test runs fine with Selenium 4.13.0 works fine with Appium 8.5.1.
It looks like your configured WebDriver URL was invalid..? So the new session request didn't reach the appium server. Or the concrete error message may need to scroll down more.
I assume you're saying Java client, so Appium server on your local itself is the same. Then should the WebDriver URL be http://0.0.0.0:4723
?
e.g.
[Appium] Welcome to Appium v2.5.4 (REV 552db40622bb7a82d9c6d67d2d6bcf3694b47e30)
[Appium] The autodetected Appium home path: /Users/kazu/.appium
[Appium] Attempting to load driver uiautomator2...
...
[Appium] Appium REST http interface listener started on http://0.0.0.0:4723
[Appium] You can provide the following URLs in your client code to connect to this server:
[Appium] http://127.0.0.1:4723/ (only accessible from the same host)
[Appium] Available drivers:
[Appium] - uiautomator2@3.5.1 (automationName 'UiAutomator2')
[Appium] - xcuitest@7.15.3 (automationName 'XCUITest')
...
I am also seeing this issue. Can you think of any reason why the same test would pass with an older version of selenium but not with the latest version?
Please share the full Appium server log and client version combination of Appium/Selenium to take a look at possible reasons https://github.com/appium/java-client?tab=readme-ov-file#compatibility-matrix
Do I have the most recent component updates?
Is the component officially supported by the Appium team?
Is there an existing issue for this?
Current Behavior
Selenium 4.18.1 does not work with Appium 8.5.1 (tried with all Appium versions above till 9.2.2 latest) or any versions below. Test execution fails
Previous version Selenium 4.13.0 works fine with Appium 8.5.1, upgrading Selenium to next level doesn't work with any of Appium versions.
Is there a compatible version of Appium that works with 4.18.1, or there are any alternative versions of appium that can be used ?
Expected Behavior
Selenium 4.18.1 required a suitable Appium version that's compatible
Minimal Reproducible Example