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_ inspector obtains the coordinates of the elements under the horizontal screen on the iPad Pro, and the result is the coordinates of the vertical screen state #19385

Closed
3 tasks done
yanyun212 opened this issue Nov 8, 2023 · 3 comments
Labels
ThirdParty upstream problems XCUITest regarding xcuitest driver

Comments

@yanyun212
Copy link

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

Appium_ inspector obtains the coordinates of the elements under the horizontal screen on the iPad Pro, and the result is the coordinates of the vertical screen state

Expected Behavior

The coordinates of the elements under the horizontal screen should be correct

Minimal Reproducible Example

{
"platformName": "iOS",
"appium:platformVersion": "16.5.2",
"appium:deviceName": "iPad",
"appium:bundleId": "com.mindray.Infinity",
"appium:udid": "auto",
"appium:webDriverAgentUrl": "http://127.0.0.1:8101",
"appium:noReset": "true",
"appium:usePrebuiltWDA": "false",
"appium:useXctestrunFile": "false",
"appium:skipLogCapture": "true",
"appium:automationName": "XCUITest"
}

Environment

  • Operating system: 16.5.1
  • Appium server version (output of appium --version): v2.0.0-rc.5
  • Appium driver(s) and their version(s):xcuitest@4.32.11
  • Appium plugin(s) and their version(s):
  • Node.js version (output of node --version): v18.16.1
  • npm version (output of npm --version):9.5.1
  • Last component(s) version which did not exhibit the problem:
  • Platform and version under test:
  • Real device or emulator/simulator:ipad pro(sixth generation)

Link to Appium Logs

No response

Further Information

No response

@yanyun212 yanyun212 added Bug a problem that needs fixing Needs Triage bugs which are not yet confirmed labels Nov 8, 2023
@yanyun212
Copy link
Author

png1
png2

@mykola-mokhnach
Copy link
Collaborator

These coordinates are returned by XCTest. I assume internally Apple does the necessary transformations to them, so actions happen at correct places. There is nothing we could do there from our side though.

@mykola-mokhnach mykola-mokhnach added ThirdParty upstream problems XCUITest regarding xcuitest driver and removed Bug a problem that needs fixing Needs Triage bugs which are not yet confirmed labels Nov 8, 2023
@eglitise
Copy link
Collaborator

eglitise commented Nov 8, 2023

This could be the same issue as appium/appium-inspector#1025. I haven't yet checked the behavior with a real iPad to know if it's the coordinates or the Inspector.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ThirdParty upstream problems XCUITest regarding xcuitest driver
Projects
None yet
Development

No branches or pull requests

3 participants