import { $$ , browser } from 'protractor' ; export class Angular2FullStackPage { navigateTo ( ) { return browser . get ( '/' ) ; } getNavbarElement ( n ) { return $$ ( 'app-root a' ) . get ( n ) . getText ( ) ; } }