I have a collection view in my UI test and I would like to tap on cell with IndexPath 1-0. How can this cell be addressed in an UI test?
I found this, but it is not what I want: app.collectionViews.cells.elementAtIndex(1).tap()
elementAtIndex is now deprecated. You have to use elementBoundByIndex instead
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.