Enter key in firefox
Firefox: 27.0.1 Protractor: 0.20.1
Enter key doesn't work in Firefox:
input.sendKeys(protractor.Keys.ENTER) doesn't trigger Enter key.
But input.sendKeys("\n") triggers.
Use input.sendKeys(protractor.Keys.RETURN).
This is a discrepancy between browsers:
Keyboards
One last thing. Inputting text happens through sendKeys. Dont try to simulate form submission by hitting the enter key with
protractor.Key.ENTER. That one works in Google Chrome, but will fail you in Firefox. There's alsoprotractor.Key.RETURN. It does exactly the same and it works in both browsers.
Source: http://savanne.be/articles/testing-with-angular-js/
Thank you. I'm closing the issue.