source:
Farmatiko/ClientApp/e2e/src/app.po.ts@
fbaea22
Last change on this file since fbaea22 was 30a465f, checked in by , 4 years ago | |
---|---|
|
|
File size: 206 bytes |
Rev | Line | |
---|---|---|
[30a465f] | 1 | import { browser, by, element } from 'protractor'; |
2 | ||
3 | export class AppPage { | |
4 | navigateTo() { | |
5 | return browser.get('/'); | |
6 | } | |
7 | ||
8 | getMainHeading() { | |
9 | return element(by.css('app-root h1')).getText(); | |
10 | } | |
11 | } |
Note:
See TracBrowser
for help on using the repository browser.