Projekt

Obecné

Profil

Stáhnout (251 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1
import { browser, by, element } from 'protractor';
2

    
3
export class AppPage {
4
  navigateTo() {
5
    return browser.get(browser.baseUrl) as Promise<any>;
6
  }
7

    
8
  getTitleText() {
9
    return element(by.css('app-root h1')).getText() as Promise<string>;
10
  }
11
}
(2-2/2)