Bug 1010734 - use switchToFrame when switching to keyboard frame.
Merge pull request #19272 from RudyLu/keyboard/Bug1010734

Bug 1010734 - use switchToFrame when switching to keyboard frame.