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