1 2 3 4 5 6 7 8 9 10 11 12
import { browser, by, element } from 'protractor' export class AppPage { navigateTo () { browser.waitForAngularEnabled(false) return browser.get('/') } getHeaderTitle () { return element(by.css('.instance-name')).getText() } }