projects
/
examples
/
angular-tour-of-heroes
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
1a4c955e9f536c1edae8e1439a7adf384710a527
[examples/angular-tour-of-heroes]
/
app.po.ts
1
import { browser, by, element } from 'protractor';
2
3
export class AppPage {
4
navigateTo() {
5
return browser.get(browser.baseUrl) as Promise<any>;
6
}
7
8
getTitleText() {
9
return element(by.css('app-root > h1')).getText() as Promise<string>;
10
}
11
}