Steps to reproduce
Keyboard event key property:
is already supported by all desktop browsers except Safari. A lot of developers starting to use it.
I just had an issue it was very hard to find out why sendKeys() method wasn’t working. The problem was that selenium generated keyboard event had this property “key” empty and because of it validation didn’t work.
Please consider assigning this property on every keyboard events with selenium.
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “Brad E.”
Changed Assigned To from “Brad E.” to “Clay M.”
Changed Assigned To from “Clay M.” to “Ben B.”
Changed Status to “Confirmed”
Changed Assigned To from “Ben B.” to “John J.”
Changed Title from “KeyboardEvent key property is unassigned when sendKeys()” to “KeyboardEvent key property is unassigned when sendKeys()”
Changed Assigned To from “John J.” to “Brandon W.”
Changed Status from “Confirmed” to “Not reproducible”
It looks like key events are properly set when using Send Keys as well as Actions. Please re-activate with a specific test case that fails.