In my Protractor testing, I have been successful in locating text using element.all(by.repeater())
and iterating through each to find a match. However, the issue arises when trying to exit the iteration once a match is found and clicking on the matched element.
I attempted to use .each()
, but unfortunately, I am unable to break out of the loop once the match is identified.
Do you have any suggestions or solutions for this problem?