Some changes so chromedriver2 works with selenium-webdriver on ruby