How to get All values present in XCUIElementTypePickerWheel in IOS


#1

Hello guys.
I want to get all the values present in XCUIElementTypePickerWheel using Appium.
It gives error if I try retrieving values using getAttribute(“values”)

org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: The attribute ‘values’ is unknown. Valid attribute names are: (
UID,
accessibilityContainer,
accessible,
enabled,
frame,
label,
name,
rect,
type,
value,
visible,
wdAccessibilityContainer,
wdAccessible,
wdEnabled,
wdFrame,
wdLabel,
wdName,
wdRect,
wdType,
wdUID,
wdValue,
wdVisible
)
It was working fine with IOSUiAutomation.
Can anybody help me in getting all the values in XCUIElementTypePickerWheel

Thanks and Regards,
Pranoday