app.po.ts 208 B

1234567891011
  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. }