Selenium got smart