Closed
Bug 1306259
Opened 9 years ago
Closed 7 years ago
Extended key not correctly emitted for send_keys on an element
Categories
(Remote Protocol :: Marionette, defect, P2)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1255260
People
(Reporter: florentbr, Unassigned)
References
(Blocks 1 open bug)
Details
Build identifier: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0
For an extended key, the method send_keys emits the keyup just after the keydown.
The keyup should be emitted at the end or when the key is present again in the sequence.
The following code:
driver.navigate("about:home")
driver.find_element("id", "searchText").send_keys(Keys.SHIFT + "ab")
Emits:
event key
-------- ---------
keydown Shift
keyup Shift << should not be emitted (or at the end) since the key is supposed to be pressed
keydown A
keypress A
keyup A
keydown B
keypress B
keyup B
Updated•8 years ago
|
Priority: -- → P3
Updated•7 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Updated•3 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•