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

16 lines
276 B
TypeScript
Raw Normal View History

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