Selenium 2.44 is not compatible with Firefox 35 . Related questions:
The easiest option is to reinstall firefox to the latest stable version (currently 34.0.5).
UPDATE: selenium 2.45 with fixed firefox compatibility issues was released today (February 28, 2015). At the moment, for protractor work with selenium 2.45 - install it directly from the github protractor master branch:
$ npm install angular/protractor
or
$ npm install git+https:// git@github.com /angular/protractor.git
FYI, I reproduced the same problems with connecting with protractor 1.5 and the "angularjs.org" stacker tutorial :
describe('angularjs homepage todo list', function() { it('should add a todo', function() { browser.get('http://www.angularjs.org'); element(by.model('todoText')).sendKeys('write a protractor test'); element(by.css('[value="add"]')).click(); var todoList = element.all(by.repeater('todo in todos')); expect(todoList.count()).toEqual(3); expect(todoList.get(2).getText()).toEqual('write a protractor test'); }); });
source share