mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-18 20:47:51 +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();
|
|
}
|
|
}
|