ios page with scroll view make find element time much more
See original GitHub issueHi, master, I have 3 problems for use appium, please help me.
- Page with animation will slow down the find element action. Even use
waitForIdleTimeout=0
, this is obviously in Android. Is any other action to reduce this. - I wan’t to confirm one thing first. I find android only has two types of find element response: exist or not, but ios has 3 types: exist, not exist, and exist but not display. So I guess the android only snapshot the element on current screen, but ios snapshot the element out of current screen. So I want to known if we can use the location field in the response of find element in ios platform, because it can speed up the find action for one element.
- Base on problem 2, I find when one page has a scroll view for paging, the ios will auto scroll the page when snapshot the page source. This will lead to 3 problems, 1. cost much more time (in our case 0.5s->7s and ) to find the element. 2. this will leave a white screen on the page. 3. some action like click will loss as the snapshot time is much more. This problems make much trouble for us. If we have options to resolve it? such as we only want get the element on current screen but not the current page.
Issue Analytics
- State:
- Created a year ago
- Comments:17 (3 by maintainers)
Top Results From Across the Web
UIScrollView: How to scroll one page at a time
I have make a scroll view that can scroll horizontally. The problem I am facing is that I want user only scroll one...
Read more >Scroll views - Human Interface Guidelines
A scroll view lets people view content that's larger than the view's boundaries by moving the content horizontally or vertically.
Read more >How ScrollView lets us work with scrolling data
When we place views inside scroll views, they automatically figure out the size of that content so users can scroll from one edge...
Read more >How to Use Scroll Views in Xcode in 5 Minutes or Less
Current to July 23, 2021Scrolling in an iOS application is a super helpful tool for users to navigate a lot of information, ...
Read more >How To Add ScrollView in Swift and iOS - 2020 - YouTube
UIScrollView's are an essential user interface element for beginners ... make yourself more marketable, change industries to get a different ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@kangqf I’m not sure that the link is related, I believe that the issue in that thread is related to arbitrary cells being loaded unnecessarily, whether in our case all of the cells are loaded during an accessibility snapshot request by the XCTest framework.
In any case given the behavior of Apple’s testing framework relating to tables I’m not sure there’s anything that can be done from the Appium side of things regarding this matter.
@Dan-Maor Thanks for the detailed investigation
Closed as third party issue.