fix noSuchWindow() for new chrome driver
Merge pull request #3789 from jrgm/issue-3747-update-noSuchWindow-hell

fix noSuchWindow() for new chrome driver