reutsey
reutsey

Reputation: 1993

Protractor Repeater Inside Element

I want to access a repeater within another element:

enter image description here

If I have the following:

var dates = $('#provider_details_view').element.all(by.repeater('repeater name'); 

it doesn't work and says $(...).element.all is not a function

Upvotes: 1

Views: 79

Answers (1)

alecxe
alecxe

Reputation: 473833

Do the chaining correctly, call .all() directly instead of .element.all():

var dates = $('#provider_details_view').all(by.repeater('repeater name'); 

Upvotes: 1

Related Questions