![]() # Gemfile - gem "poltergeist" + gem "selenium-webdriver" + gem "rspec-retry" ![]() In my case, this is what had to change: 1 2 3 4 You may need to tweak your PATH on Ubuntu though. For example, brew install chromedriver for OS X or pacaur -S chromedriver on Arch if you don't like to have Chromium around. Otherwise, you need to install the proper packages for your operating system. ![]() If you're using Linux with the Chromium browser, you don't need to install anything, as the Chrome Driver comes with Chromium. My friend Lucas Caton wrote about it in June this year. You can easily replace Poltergeist/PhantomJS for Selenium WebDriver/Chrome Driver in your RSpec/Capybara setup.
0 Comments
Leave a Reply. |