mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-24 15:16:38 +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();
|
|
}
|
|
}
|