-
Notifications
You must be signed in to change notification settings - Fork 10
Collections
alvarolaserna edited this page May 30, 2019
·
1 revision
Elements can be defined as a unique for all the different platforms, i.e. same element definition for iOS, android and computer Browser:
UICollection collection = EE(byId(“your.Id”));
But in most cases the collections are different in each case which means you can use a definition per platform like this:
UICollection collection = EE(byId(“your.Id”))
.selenideCollection(byXpath("//some""))
.iOSCollection(byCssSelector(".something""));
collection.get(index)
collection.first()
collection.findByVisible()
collection.findByVisible()
collection.findByEnabled()
collection.findByExist()
collection.findByText("some text")
Once you specify which element form the collection you have the same methods than in the element section above