Stone, Avi (as206k) | 9b2ceb3 | 2018-04-12 16:36:39 +0300 | [diff] [blame^] | 1 | import { browser, by, element } from 'protractor'; |
2 | |||||
3 | export class AppPage { | ||||
4 | navigateTo() { | ||||
5 | return browser.get('/'); | ||||
6 | } | ||||
7 | |||||
8 | getParagraphText() { | ||||
9 | return element(by.css('app-root h1')).getText(); | ||||
10 | } | ||||
11 | } |