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