12 lines
210 B
TypeScript
12 lines
210 B
TypeScript
|
import { browser, element, by } from 'protractor';
|
||
|
|
||
|
export class MyAppPage {
|
||
|
navigateTo() {
|
||
|
return browser.get('/');
|
||
|
}
|
||
|
|
||
|
getParagraphText() {
|
||
|
return element(by.css('app-root h1')).getText();
|
||
|
}
|
||
|
}
|