I want to measure the time of loading the page. I use watir-webdriver performance gem and this code:
5.times do
@b.goto ("#{@host}")
puts "Load Time: #{@b.performance.summary[:response_time]/1000.000} seconds."
end
But now I need to produce yalm file, that collect the time information of the cucumber-test for my statistic.