On Wed, Mar 19, 2014 at 10:30 PM, Jon Robson <jrobson@wikimedia.org> wrote:
Does Watir have a concept of a tear down step?

No. Actually, Watir is really an insignificant part of our test automation toolset, just a wrapper around Selenium. And Selenium just drives browsers. But Cucumber, our test runner, does have hooks[1-2], code that runs before and/or after a scenario. Let me know if you need help with setting up Cucumber hooks.

Željko
--
1: https://github.com/cucumber/cucumber/wiki/Hooks
2: https://github.com/wikimedia/mediawiki-selenium/blob/master/lib/mediawiki_selenium/support/hooks.rb