mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-30 17:56:55 +00:00
16 lines
269 B
TypeScript
16 lines
269 B
TypeScript
import { browser, by, element } from 'protractor';
|
|
|
|
export class Gns3WebUiPage {
|
|
navigateTo() {
|
|
return browser.get('/');
|
|
}
|
|
|
|
getTitleText() {
|
|
return browser.getTitle();
|
|
}
|
|
|
|
getParagraphText() {
|
|
return element(by.css('app-root h1')).getText();
|
|
}
|
|
}
|