2 * This file uses the Page Object pattern to define the main page for tests
3 * https://docs.google.com/presentation/d/1B6manhG0zEXkC-H-tPo2vwU06JhL8w9-XCF9oehXzAQ
8 var MainPage = function() {
9 this.heroEl = element(by.css('.hero-unit'));
10 this.h1El = this.heroEl.element(by.css('h1'));
11 this.imgEl = this.heroEl.element(by.css('img'));
14 module.exports = new MainPage();