Selenium race condition fix