SeleniumLibrary
SeleniumLibrary copied to clipboard
Press Keys causes two key ups for selenium special keys
Steps to reproduce the issue
Press Keys keyword execution with special selenium keys, for example Press Keys css:locator BACKSPACE, brings two key_up events unexpectedly. That causes two letters removal instead of one in my case.

Though in case the selenium key code is used there is no event duplicates, works like a charm

Expected behavior and actual behavior
I was expecting that the Press Keys should work consistently for both scenarios, send key_down and key_up for once only:
Press Keys css:locator BACKSPACEPress Keys css:locator \ue003
Environment
Browser: Chrome 90.0.4430.72 Browser driver: ChromeDriver 90.0.4430.24 Operating System: Windows 10 Libraries
- Robot Framework: 4.0.3
- Selenium: 3.141.0
- SeleniumLibrary: 5.1.3
- Interpreter: Python 3.6
PS: W3C chromedriver mode is set to False in the example above.