Press Keys keyword execution with special selenium keys, for example Press Keys css:locator BACKSPACE, brings two _keyup 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:
Steps to reproduce the issue
Press Keys
keyword execution with special selenium keys, for examplePress Keys css:locator BACKSPACE
, brings two _keyup 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 BACKSPACE
Press Keys css:locator \ue003
Environment
Browser: Chrome 90.0.4430.72 Browser driver: ChromeDriver 90.0.4430.24 Operating System: Windows 10 Libraries