appium / WebDriverAgent

A WebDriver server for iOS and tvOS
Other
1.2k stars 377 forks source link

API or Method to Interrupt Scrolling on iOS Devices #778

Open merih-sakarya opened 1 year ago

merih-sakarya commented 1 year ago

I am working on a project similar to BrowserStack App Live, and we are utilizing WebDriverAgent to communicate with iOS devices. We are facing a scenario where we need to mimic the default iOS behavior where a scrolling process is interrupted when a click is made on the device screen.

I have explored the available APIs and documentation but couldn't find a direct method or endpoint to achieve this behavior through WebDriverAgent.

Is there an existing feature or workaround in WebDriverAgent that allows for interrupting a scroll action on an iOS device? If not, could you suggest any alternatives or best practices to simulate this user interaction programmatically?

Any insights or suggestions would be greatly appreciated.

Thank you for your time and assistance!