When running a test against Sauce Labs on Windows XP with Internet Explorer 8, I receive the following error:
/Users/tourdedave/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/rspec-expectations-3.1.2/lib/rspec/matchers.rb:938:in `method_missing': undefined method `[]' for nil:NilClass (NoMethodError)
from /Users/tourdedave/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/eyes_selenium-2.5.0/lib/eyes_selenium/eyes/agent_connector.rb:40:in `start_session'
from /Users/tourdedave/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/eyes_selenium-2.5.0/lib/eyes_selenium/eyes/eyes.rb:282:in `start_session'
from /Users/tourdedave/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/eyes_selenium-2.5.0/lib/eyes_selenium/eyes/eyes.rb:307:in `check_region_'
from /Users/tourdedave/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/eyes_selenium-2.5.0/lib/eyes_selenium/eyes/eyes.rb:151:in `check_window'
from example_3.rb:40:in `block in <main>'
from example_3.rb:34:in `run'
from example_3.rb:38:in `<main>'
shell returned 1
The session gets created in Sauce Labs and then throws this error. Also, running my script against other browsers (e.g., Chrome and Firefox) works without issue. Here is the script:
When running a test against Sauce Labs on Windows XP with Internet Explorer 8, I receive the following error:
The session gets created in Sauce Labs and then throws this error. Also, running my script against other browsers (e.g., Chrome and Firefox) works without issue. Here is the script: