Skip to content

Instantly share code, notes, and snippets.

@lydemann

lydemann/app.po.ts Secret

Created Jul 9, 2018
Embed
What would you like to do?
import { browser, by, element } from 'protractor';
export class AppPage {
navigateTo() {
return browser.get('/');
}
getAmountOfTODOs() {
return element(by.css('.todo-item')).count;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.