ph7 / selenium-client

Official Ruby client API for Selenium Remote Control (bare bone client driver)
http://rubyforge.org/projects/selenium-client/
Apache License 2.0
153 stars 47 forks source link

Firefox SSL #24

Open Keoven opened 13 years ago

Keoven commented 13 years ago

Selenium seems to fail, and doesn't wait for confirmation of ssl before proceeding in the test. It gives an error of:

XHR ERROR: URL = http://path
Response_Code = -1 Error_Message = Request Error (Selenium::CommandError)

I worked around this temporarily by doing this:

gems/selenium-client-1.2.18/lib/selenium/client/protocol.rb:13

- raise Selenium::CommandError, response unless status == "OK"    
+ raise Selenium::CommandError, response unless ['OK', 'XH'].include?(status)

Although I would prefer not editing the gem since I don't know the implications of what I might have done by changing that line, so, can anyone shed light as to what I am doing wrong with my set up?