Open JunichiIto opened 8 years ago
Thanks @JunichiIto. My recommendation is to go with PhantomJS/Poltergeist. I wrote about how to switch out selenium-webdriver for poltergeist on Everyday Rails.
Also you can use an older version of Firefox, because selenium-webdriver already doesn't work as in previous versions.
Giving the location of the old Firefox version to the binary path you can use it as we've accustomed.
irb(main):001:0> Selenium::WebDriver::Firefox::Binary.path = "/opt/firefox17/firefox"
irb(main):002:0> browser = Capybara::Session.new(:selenium)
irb(main):003:0> browser.visit('http://google.cl')
One of my readers reported that selenium-webdriver won't work against Firefox 48 or later even if he updates selenium-webdriver.
This problem is related to the issue below:
Firefox driver in 2.53.4 not working with Firefox 48 · Issue #2559 · SeleniumHQ/selenium
Workarounds are:
The readers might get confused if they get this problem, so it would be worth to announce it, I think.