title: During normal test, execute a parallel def in every instruction
body: <p>Let's imagine that I have a normal automated test with Watir and Cucumber that goes to a webpage, does some stuff, and then ends. After every click and every micro-operation I do with the scenario (let's say that a normal step contains several micro-operations), I want to make a check.</p>
  
  <p>The check is look in the Firefox console and look for JavaScript errors (I already have a system for reading the display of the FF console). And I want this check to be done after every action of the automation.</p>
  
  <p>The most increased frequency I have right now is to use:</p>
  
  <pre><code>AfterStep do |scenario|
    raise get_js_error_feedback() unless get_js_error_feedback().empty?
  end
  </code></pre>
  
  <p>But this is not enough. Any ideas?</p>