• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import { browser, by, element } from 'protractor';
2
3export class AppPage {
4  navigateTo() {
5    return browser.get('/');
6  }
7
8  getParagraphText() {
9    return element(by.css('app-root h1')).getText();
10  }
11}
12