app.po.ts 208 B

123456789101112
  1. import { browser, by, element } from 'protractor';
  2. export class AppPage {
  3. navigateTo() {
  4. return browser.get('/');
  5. }
  6. getParagraphText() {
  7. return element(by.css('app-root h1')).getText();
  8. }
  9. }