protractor icon indicating copy to clipboard operation
protractor copied to clipboard

Last item from repeater

Open Basman01 opened this issue 13 years ago • 1 comments

Hi ,

I have a question about ptor.findElement(protractor.By.repeater('item in items').row(0).column('{{item.name}}')).click();

Is there a way to get the last row of the repeater?

(i have searched the issue list and docs but could not find anything , sorry if i have overlooked it)

Basman01 avatar Oct 17 '13 09:10 Basman01

Not currently, you'd have to get the list of rows and find the last one in the array yourself. But this should be auto supported.

juliemr avatar Oct 25 '13 18:10 juliemr