Javascript After Method In Selenium