Skip to content

Collections

alvarolaserna edited this page May 30, 2019 · 1 revision

Collections

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 Action Methods

collection.get(index)
collection.first()
collection.findByVisible()
collection.findByVisible()
collection.findByEnabled()
collection.findByExist()
collection.findByText("some text")

Collection Assertion methods

Once you specify which element form the collection you have the same methods than in the
element section above

Clone this wiki locally