Closed spooning closed 9 years ago
Originally submitted to Google Code by filip.ne... on 8 Apr 2009
I've performed the source code changes myself, here's the patch: I've implemented two keywords: Press Key and Press Key Native. The second one uses the keyPressNative operation of Selenium RC. keyPressNative is the only thing that works for Internet Explorer 7, keyPress doesn't have any impact.
The reason for which I implemented this is that I need to send an <enter> key to a text field, which is implemented with an onkeydown event listener that performs an action if the <enter> key is pressed. I assume this can also be useful to others.
Originally submitted to Google Code by @yanne on 13 May 2009
Decided to implement these and the related Focus
keyword in upcoming 2.2 release,
see also issue 40
Originally submitted to Google Code by @yanne on 13 May 2009
Selenium commands such as keypress, keyup, ... are not implemented. They are useful for manipulating pages in which <input onkeydown="..." is used.