Is it possible to get the number of matched elements using Detox or Jest?

Viewed 389

I need to get the number of elements in a choice list, to use it later. Is it possible to search elements by type (choice list item type), and then to get the number of matched elements?

I saw the atIndex() Detox function, so maybe there is something related?

1 Answers

Not possible at the moment, but will be possible soon using the getAttributes() API.

Related