Protractor exports some globals to interact with the DOM. This is an example of getting the element that is data-bound (with Angular) to ‘name’ and entering some text:
element(by.model('name')) // get the <input ng-model="name" /> element .clear() // remove any text .sendKeys('abc'); // enter 'abc'
You can of course also search by id, class,…
Finally, it’s important to note that Angular uses Protractor for its end-to-end tests, but the Protractor API is agnostic to Angular.
The session was short but it was enough to raise my interest. UI testing has always been hard, both in building tests and maintaing them. I’d have to test Protractor to see if it is any better, but I’m optimistic.