Exploring the Angular website, I came across an interesting unit test example which can be found here. Please note that you need to click on the protractor.js button as there is no direct link to the unit test code.
Below is the snippet in question:
element.all(by.select('color')).first().click();
element.all(by.css('select[ng-model="color"] option')).first().click();
I'm curious if it's possible to target elements other than the first one when using "element.all()". The documentation doesn't seem clear on this aspect. Can someone provide more insight?