O'Reilly logo

Selenium Testing Tools Cookbook by Unmesh Gundecha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Client-side performance testing with Watir-WebDriver-Performance in Ruby

The Watir-WebDriver-Performance gem provides a set of timing metrics using the W3C Page Performance standard in the Watir-WebDriver.

The Watir-WebDriver-Performance gem is the perfect solution to capture the response time metrics, and it's very straightforward to set up.

One way of effectively measuring performance testing is by conducting a response time test every time the application is built. If there is a huge degradation in the performance, break the build!

In this recipe, we will set up the Watir-WebDriver-Performance gem and collect various performance metrics in our test.

Getting ready

You will need a Ruby environment. You will need the Watir-WebDriver gem along with ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required