Reputation: 1993
I want to access a repeater within another element:
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
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