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