appium-inspector icon indicating copy to clipboard operation
appium-inspector copied to clipboard

bug: Element position are offset in iPad in landscape mode

Open Reeta-L opened this issue 1 year ago • 0 comments

Is this an issue specifically with Appium Inspector?

  • [X] I have verified that my issue does not occur with Appium, and should be investigated as an Appium Inspector issue

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

I am trying to automate an internal app on iPad. I am using appium 2 and xcuitest driver 4.18.4. Using appium inspector the elements are highlighted offset. And tap by coordinates also does not work. See below screenshot the settings button is not highlighted correctly. Picture1 I even try on the home screen, and the buttons are highlighted incorrectly. I suppose there is a problem with landscape mode on iPad.

Expected Behavior

The settings button should be highlighted correctly and tap by coordinates should also work.

Operating System

Windows

Appium Inspector Version

23.8.1

Appium Version

2.0.0-beta.56

Further Information

Operating system: Windows 10, Appium server on: macOS Monterery (12.5.1) Appium server version (output of appium --version): 2.0.0-beta.56 Appium driver(s) and their version(s): xcuitest 4.18.4 Appium plugin(s) and their version(s): Node.js version (output of node --version): v19.6.0 npm version (output of npm --version): 9.4.0 Last component(s) version which did not exhibit the problem: n/a Platform and version under test: iPad 16.3.1 Real device or emulator/simulator: Real device - iPad (10th generation)

Steps:

  1. Connect iPad in landscape mode.
  2. Try to capture buttons on homescreen using appium inspector.
  3. The buttons are offset highlighted pic1 The buttons are offset Appium Logs : appium3.log Picture1 Picture2 Linked appium issue https://github.com/appium/appium/issues/18968

Reeta-L avatar Aug 10 '23 07:08 Reeta-L