Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appium compatibility issue: Need appium version that is compatible with Selenium 4.18.1 #2174

Open
3 tasks done
vjramt opened this issue May 16, 2024 · 8 comments
Open
3 tasks done

Comments

@vjramt
Copy link

vjramt commented May 16, 2024

Do I have the most recent component updates?

  • I use the most recent available driver/plugin and server versions

Is the component officially supported by the Appium team?

  • I have verified the component repository is present under the Appium organization in GitHub

Is there an existing issue for this?

  • I have searched the existing issues

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

<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<selenium.version>4.18.1</selenium.version>
<appium.version>9.2.0</appium.version>
<testng.version>7.7.0</testng.version>
<jackson.version>2.15.2</jackson.version>

Environment

  • Operating system: Windows10
  • Appium server version (output of appium --version): 9.2.0
  • Selenium version: 4.18.1
  • Appium driver(s) and their version(s):
  • Appium plugin(s) and their version(s):
  • Node.js version (output of node --version):
  • npm version (output of npm --version):
  • Last component(s) version which did not exhibit the problem:
  • Platform and version under test:
  • Real device or emulator/simulator:

Link to Appium Logs

No response

Further Information

No response

@vjramt vjramt added the bug label May 16, 2024
@KazuCocoa
Copy link
Member

Perhaps https://github.com/appium/java-client?tab=readme-ov-file#compatibility-matrix ?

@KazuCocoa KazuCocoa removed the bug label May 16, 2024
@KazuCocoa KazuCocoa transferred this issue from appium/appium May 16, 2024
@vjramt
Copy link
Author

vjramt commented May 16, 2024

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

@vjramt
Copy link
Author

vjramt commented May 16, 2024

@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 ?

@KazuCocoa
Copy link
Member

I assume you're saying Appium Java Client version from the description. Appium server log as you said "not working" may help to help.

@vjramt
Copy link
Author

vjramt commented May 17, 2024

Attached screenshot for more error details. The same test runs fine with Selenium 4.13.0 works fine with Appium 8.5.1.

@KazuCocoa
Copy link
Member

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]   - [email protected] (automationName 'UiAutomator2')
[Appium]   - [email protected] (automationName 'XCUITest')
...

@askherconsulting
Copy link

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?

@KazuCocoa
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants