I am trying to simulate the Enter key like it is done with the Escape key in this exemple :
test.open('http://home.dalek.com')
.sendKeys('body', '\uE00C')
.assert.dialogText('press the escape key give this alert text')
.done();
I can't figure out what code should be used to simulate the Enter key.
Do you know a ressource listing the key codes that could be used with the sendKeys function ?
Thanks
That's UTF-8 encoding, here you have the some handy codes
Return U+E006
Enter U+E007
Loads of literature available at wikipedia