mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 10:01:59 +08:00
16 lines
259 B
TypeScript
16 lines
259 B
TypeScript
import { browser, by, element } from 'protractor';
|
|
|
|
export class HomePage {
|
|
navigateTo() {
|
|
return browser.get('/home');
|
|
}
|
|
|
|
navigateToRoot() {
|
|
return browser.get('/');
|
|
}
|
|
|
|
getTitleText() {
|
|
return element(by.css('.title')).getText();
|
|
}
|
|
}
|