Not able to capture any element in Landscape mode on iPAD

Hello Team,
I am not able to capture any elements on physical iPad device in Landscape mode.
Elements appear to be offset.
I suspect it considers the screen in Portrait mode even though it’s in landscape mode.
I am using below devices:
iPAD(10th generation) - iOS 17.6.1
Xcode - 15.3
Appium - 2.11.1

Snapshot1 -

Snapshot2 -

Could you please help me on this?

According to the iOS 17.6.1 release notes you need at least Xcode 15.4:

Probably an update would help. To work with bleeding edge iOS I would also recommend updating Appium and XCUITest Driver:

1 Like

Sure, let me check after upgrading the Appium, xCode and Xcuitest.
Thanks

Hi @wreed , i have updated the Xcode to 15.4 , Appium to 2.11.3 and Xcuitest to 7.26.0 versions.
I am still facing the same offset issues.
Is it a know issue?

These coordinates are returned by Apple’s XCTest. XCUITest driver simply proxies them.

1 Like

Hmm. Yes, I agree with @mykola-mokhnach, and I will add that I always have trouble with Apple’s latest iOS versions. I look at the Xcode Wiki and they don’t even list 17.6.1 yet:

It’s unfortunate that Apple’s XCTest always seems to be a little behind in support. While we are voicing complaints I’ve always thought Apple should provide a way to downgrade iOS to a previous version, but that’s another subject.

So, does it mean it’s a limitation of apple framework XCTest?

Is it possible for you to share any further information or articles which can be prominent to say that its an issue from Apple framework?
Thanks!

yes, check, for example, bug: incorrect coordinate calculation for iPad Pro (12.9-inch) in landscape mode · Issue #20486 · appium/appium · GitHub

1 Like

Thanks for the confirmation @mykola-mokhnach