简体   繁体   中英

Unable to locate element using appium inspector for iOS application

在此输入图像描述

As, you can see in the above snippet, when i try to locate value eg. '16' in this case or i would like to scroll to select any other value. I am unable to select or scroll from this window. Is it possible to select value using robot framework with appium library. suggestions are most welcome.

One approach you can follow to do this is as follows:

  1. First get the position of the element which is visible(In your case 16).
  2. If you want to scroll down click on the element above 16 by substracting some pixels from the location you get in step 1.Verify for the element you want is highlighted or not.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM