def debug_web_connection(name, &blk)
      old_wc = @webclient.getWebConnection

      @webclient.setWebConnection HtmlUnit::Util::DebuggingWebConnection.new(old_wc, name)
      res = yield
      @webclient.setWebConnection old_wc

      res
    end
def debug_web_connection(name, &blk)
      old_wc = @webclient.getWebConnection

      @webclient.setWebConnection HtmlUnit::Util::DebuggingWebConnection.new(old_wc, name)
      res = yield
      @webclient.setWebConnection old_wc

      res
    end
Start or stop HtmlUnit's DebuggingWebConnection. (Celerity only)
 The output will go to /tmp/«name»

 @param [String]  name directory name
 @param [block]   blk block to execute