def wait
      continue = false
      trap "SIGINT" do
        puts "Continuing..."
        continue = true
      end
      puts "Waiting. Press ^C to continue test..."
      wait_until(3600) { continue }
      trap "SIGINT", "DEFAULT"
    end
def wait
      continue = false
      trap "SIGINT" do
        puts "Continuing..."
        continue = true
      end
      puts "Waiting. Press ^C to continue test..."
      wait_until(3600) { continue }
      trap "SIGINT", "DEFAULT"
    end
def wait continue = false trap "SIGINT" do puts "Continuing..." continue = true end puts "Waiting. Press ^C to continue test..." wait_until ( 3600 ) { continue } trap "SIGINT" , "DEFAULT" end
stalls test until ^C is hit
 useful for inspecting page state via firebug
stalls test until ^C is hit useful for inspecting page state via firebug