import { browser , by , element } from 'protractor' ; export abstract class Page { abstract navigateTo ( params ? ) ; protected async goToPath ( path , wait = 0 ) { await browser . waitForAngularEnabled ( false ) ; await browser . get ( path ) ; await browser . sleep ( wait ) ; } }