Driver issues with first script

55 views
Skip to first unread message

Matthew Middleton

unread,
Jul 1, 2016, 8:08:54 PM7/1/16
to Cucumber and Cheese
I've run in to some challenges with the first script. When I use Firefox, the script executes just fine. If I use either IE or Chrome, I get driver errors.

When I use Chrome, the following error appears:

C:/Ruby22/lib/ruby/gems/2.2.0/gems/selenium-webdriver-2.53.4/lib/selenium/webdriver/chrome/service.rb:38:in `executable_path': Unable to find the chromedriver executable. Please download the server from http://chromedriver.storage.googleapis.com/index.html and place it somewhere on your PATH. More info at https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver. (Selenium::WebDriver::Error::WebDriverError)

When I use IE, the following error appears:

C:/Ruby22/lib/ruby/gems/2.2.0/gems/selenium-webdriver-2.53.4/lib/selenium/webdriver/common/proxy.rb:113:in `type=': invalid proxy type: :"", expected one of [:direct, :manual, :pac, :auto_detect, :system] (ArgumentError)

I switched from using RubyMine, to Eclipse. As a relative newbie to coding, I found Eclipse a little easier to understand, plus I'm using it in a Selenium course I'm taking now. These same errors occur regardless of whether I use RubyMine, Eclipse, or the command line.

I already had the Chrome driver installed, and it's part of my path, as is the IE driver. Not sure what's going on. Any suggestions?
Reply all
Reply to author
Forward
0 new messages