Description
Unable to selecting picker items in iOS and Catalyst. since, the picker items are contained within a XCUIElementTypePickerWheel, which is treated as a single accessible element. This structure does not allow us to directly access individual picker items using XPath also in our Appium framework.
For reference : https://github.com/dotnet/maui/blob/main/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/CollectionViewUITests.CollectionViewItemsUpdatingScrollMode.cs


Steps to Reproduce
- Launch the app on an iOS or Catalyst - UpdatingScrollMode.zip
- Interact with a Picker component in the app.
- Observe that the items inside the picker are grouped within a XCUIElementTypePickerWheel.
- Try to select a specific item from the picker using XPath or direct selection.
Expected Behavior
- The picker should expose individual items to be selected via XPath, Appium's click() method, or other interaction methods.
- Each item in the picker should be accessible and selectable separately.
Actual Behavior
- The picker items are grouped within a single accessible XCUIElementTypePickerWheel.
- Attempts to access and interact with individual picker items via XPath fail.
- The picker wheel is treated as a single element, and there is no way to access specific items directly.
Link to public reproduction project repository
No response
Version with bug
9.0.40 SR4
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
macOS, iOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
Description
Unable to selecting picker items in iOS and Catalyst. since, the picker items are contained within a XCUIElementTypePickerWheel, which is treated as a single accessible element. This structure does not allow us to directly access individual picker items using XPath also in our Appium framework.
For reference : https://github.com/dotnet/maui/blob/main/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/CollectionViewUITests.CollectionViewItemsUpdatingScrollMode.cs
Steps to Reproduce
Expected Behavior
Actual Behavior
Link to public reproduction project repository
No response
Version with bug
9.0.40 SR4
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
macOS, iOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output