We can't control native events like setting focus to a field/window or sending a keystroke. When a user clicks in to a popup windows, they change focus, emit some native key events, etc. We can't do these things directly without something like [selenium](http://docs.seleniumhq.org/).