I am trying to run a sample Selenium link with Ruby on Rails. I have to start it with a proxy. Here is my code:
require 'rubygems' require 'bundler/setup'
I got the following error:
/home/marc/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.0.0.beta3.1/lib/selenium/webdriver/common/service.rb:115:in `connect_until_stable': unable to connect to Mozilla geckodriver 127.0.0.1:4445 (Selenium::WebDriver::Error::WebDriverError)
Can someone help me ...? I try with the clock and cannot find the problem ... I really donβt know what to do.
Environment:
Ubuntu 16.04 LTS, Firefox 45.0, rbenv 2.3.1
Another question: does anyone know an example for Selenium + Ruby on Rails? I can't find really good things ... the documentation is really poor :(
source share