Switch to poltergeist gem instead of Selenium.