sauce-archives / sauce_ruby

This is the Ruby client adapter for testing with Sauce Labs, a Selenium-based browser testing service (saucelabs.com).
Apache License 2.0
98 stars 115 forks source link

rescue stopping selenium instance #357

Closed anthonywoo closed 8 years ago

anthonywoo commented 8 years ago

If @selenium.stop throws an error - it'll cause rspec to terminate and potentially cause other around hooks to not run. An example of when an error might occur would be if the VM shutdown because the idle-timeout is reached.