e = driver.find_element :class_name, 'XCUIElementTypeSearchField'
e.clear
returned
> e.clear
Selenium::WebDriver::Error::UnknownError: An unknown server-side error occurred while processing the command. Original error: -[XCUIElement tapWithNumberOfTaps:numberOfTouches:]: unrecognized selector sent to instance 0x2829adb20
from UnknownError: An unknown server-side error occurred while processing the command. Original error: -[XCUIElement tapWithNumberOfTaps:numberOfTouches:]: unrecognized selector sent to instance 0x2829adb20
on a tvOS 17 device.
The clear search field worked, so we can simply skip the tapWithNumberOfTaps in case the platform does not have it
When I explored https://github.com/appium/appium/issues/19389, I found out the below command
returned
on a tvOS 17 device.
The clear search field worked, so we can simply skip the tapWithNumberOfTaps in case the platform does not have it