Safari 10 webdriver & Selenium 3 (Ruby)- unexpected response, code=404, content-type="" (Selenium::WebDriver::Error::WebDriverError)

Hello all,


I have a set of automation tests working fine with Chrome. Now I am trying to run them on the new Safari 10 webdriver and Selenium 3.


Safari gets launched successfully but I get the below error for all steps that interact with th webpage:


unexpected response, code=404, content-type="" (Selenium::WebDriver::Error::WebDriverError)


This is my env.rb configuration:

caps = Selenium::WebDriver::Remote::Capabilities.safari(:cleanSession => true, :port => 0)

options.store :desired_capabilities, caps


If anyone tried this or faced similar issue, please help.

I had this problem too, but it went away by using Safari Technology Preview instead of Safari.

Safari 10 webdriver & Selenium 3 (Ruby)- unexpected response, code=404, content-type="" (Selenium::WebDriver::Error::WebDriverError)
 
 
Q