Some tests weren't passing on my other computer which is considerably
faster than my laptop. Switched from waiting on the windowOpened event
to a focusGained event.