diff --git a/lib/selenium/rspec/spec_helper.rb b/lib/selenium/rspec/spec_helper.rb index f41539a..56739dd 100644 --- a/lib/selenium/rspec/spec_helper.rb +++ b/lib/selenium/rspec/spec_helper.rb @@ -26,7 +26,8 @@ selenium_driver.set_context "Starting example '#{self.description}'" end rescue Exception => e - STDERR.puts "Problem while setting context on example start" + e + STDERR.puts "Problem while setting context on example start " + e + STDERR.puts "Please make sure your driver object is named 'selenium_driver' and is visible from the Spec code" end end