mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-21 05:53:06 +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();
|
|
}
|
|
}
|