Mercurial > hg > ugly-duckling
view e2e/app.po.ts @ 192:e4f38975c2bc
Introduce interface for reading a file, once again avoiding specific browser implementation.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Thu, 23 Mar 2017 15:42:34 +0000 |
parents | 340ce94899fd |
children |
line wrap: on
line source
import { browser, element, by } from 'protractor'; export class UglyDucklingPage { navigateTo() { return browser.get('/'); } getParagraphText() { return element(by.css('app-root h1')).getText(); } }