gns3-web-ui/e2e/app.po.ts

16 lines
276 B
TypeScript
Raw Normal View History

2017-09-25 13:07:52 +02:00
import { browser, by, element } from 'protractor';
export class Gns3WebUiPage {
navigateTo() {
return browser.get('/');
}
2018-02-23 17:22:14 +01:00
getTitleText() {
2020-02-07 13:57:32 +01:00
return browser.driver.getTitle();
2018-02-23 17:22:14 +01:00
}
2017-09-25 13:07:52 +02:00
getParagraphText() {
return element(by.css('app-root h1')).getText();
}
}