We are migrating from Protractor to using SeleniumWebdriver for Node.js: https://www.npmjs.com/package/selenium-webdriver
Using Protractor for AngularJS, we can do:
element.all(by.repeater('r in roles')).first().element(by.css('.update-role')).click();
I am trying to figure out what an equivalent call might look like using require('selenium-webdriver')
, anybody have an idea?
Specifically, the by.repeater()
call, is what I don't know an equivalent for.
[ng-repeat="r in roles"]
is the gist