app.po.ts 216 Bytes
Newer Older
mdsecurity's avatar
mdsecurity committed
1 2 3 4 5 6 7 8 9 10 11
import { browser, element, by } from 'protractor';

export class WhatsOpenA2Page {
  navigateTo() {
    return browser.get('/');
  }

  getParagraphText() {
    return element(by.css('app-root h1')).getText();
  }
}