From 3650c5bd77f3c167faffef8dfff54cf92b41df38 Mon Sep 17 00:00:00 2001 From: Thomas Walpole Date: Mon, 20 May 2019 12:21:53 -0700 Subject: [PATCH] Let webdrivers handle IEDriverServer.exe --- spec/selenium_spec_ie.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/spec/selenium_spec_ie.rb b/spec/selenium_spec_ie.rb index 6ded6db5..dc76c878 100644 --- a/spec/selenium_spec_ie.rb +++ b/spec/selenium_spec_ie.rb @@ -6,13 +6,13 @@ require 'shared_selenium_session' require 'shared_selenium_node' require 'rspec/shared_spec_matchers' -if ENV['CI'] - if ::Selenium::WebDriver::Service.respond_to? :driver_path= - ::Selenium::WebDriver::IE::Service - else - ::Selenium::WebDriver::IE - end.driver_path = 'C:\Tools\WebDriver\IEDriverServer.exe' -end +# if ENV['CI'] +# if ::Selenium::WebDriver::Service.respond_to? :driver_path= +# ::Selenium::WebDriver::IE::Service +# else +# ::Selenium::WebDriver::IE +# end.driver_path = 'C:\Tools\WebDriver\IEDriverServer.exe' +# end def selenium_host ENV.fetch('SELENIUM_HOST', '192.168.56.102')