web-xiangsonghua/dwt-console/e2e/app.po.ts
2024-12-23 15:13:57 +08:00

12 lines
212 B
TypeScript

import { browser, element, by } from 'protractor';
export class Websrc1Page {
navigateTo() {
return browser.get('/');
}
getParagraphText() {
return element(by.css('app-root h1')).getText();
}
}