Skip to content

Instantly share code, notes, and snippets.

'use strict';
var AngularPage = function () {
browser.get('http://www.angularjs.org');
};
AngularPage.prototype = Object.create({}, {
todoText: { get: function () { return element(by.model('todoText')); }},
addButton: { get: function () { return element(by.css('[value="add"]')); }},
yourName: { get: function () { return element(by.model('yourName')); }},
@weikinhuang
weikinhuang / mobile-meta-links.html
Created August 6, 2011 00:52
iOS Web App Configuration