Capturing page-performance metrics

Measuring and optimizing the client-side performance is essential for a seamless user experience, and this is critical for Web 2.0 applications using AJAX.

Capturing vital information, such as the time taken for page load, rendering of the elements, and the JavaScript code execution, will help in identifying the areas where performance is slow and optimizes the overall client-side performance.

Navigation Timing is a W3C-Standard JavaScript API to measure performance on the web. The API provides a simple way to get accurate and detailed timing statistics natively for page navigation and load events. It is available on Internet Explorer 9, Google Chrome, Firefox, and WebKit-based browsers.

The API is accessed ...

Get Selenium WebDriver 3 Practical Guide - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.