You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.
Sending a CONTROL or SHIFT key followed by a character, either by sendKeys or an Actions
class call, when the javascript event is fired for the character, it should have ctrlKey/shiftKey
set to true. This is not currently the case.
This means that if a page hooks an event listener for Ctrl + FunctionKey, rather than
the event listener being called, the default browser action is taken as if control
were not pressed - for example Ctrl + F12 should not bring up the F12 developer tools,
but it does. Interestingly, this appears to be FunctionKey specific - Ctrl + a will
select all of the text on the page, but the javascript event will still be fired claiming
ctrl was not pressed.
By inspecting with Spy++, the exact same events are being sent to the browser as are
sent when actually pressing the keys. It seems that IE is itself checking the keyboard
state (possibly via the process-local GetKeyboardState), and overriding whatever we
spoof.
There doesn't appear to be a way to override this behaviour other than forcing the
window to focus and using SendInput to send the control/shift character. The WebDriver
spec does not allow focus to be required, and so we cannot do this.
Hi,
I am experiencing the same issue. Currently I am using selenium-server-standalone-2.35.0
and IEDriverServer - 2.35.3.0. I have the problem sending keys(CONTROL, SHIFT and ALT)
followed by character. Is there any update on this issue? Or what's the chance that
the issue wont be fixed at all?
Reported by peter.stephen.marin on 2013-10-08 10:35:45
Originally reported on Google Code with ID 4973
Reported by
dawagner
on 2013-01-04 11:32:43- _Attachment: [Bug.java](https://storage.googleapis.com/google-code-attachments/selenium/issue-4973/comment-0/Bug.java)_ - _Attachment: [index.html](https://storage.googleapis.com/google-code-attachments/selenium/issue-4973/comment-0/index.html)_
The text was updated successfully, but these errors were encountered: