Bug 1071592 - Fix intermittent failure in test_keyboard.py
Merge pull request #24343 from viorelaioia/bug_1071592

                                                                                                                                                    Bug 1071592 - Fix intermittent failure in test_keyboard.py