Grafana Cloud

Inspect browser test results

In addition to running API performance tests, you can also run browser tests in Grafana Cloud k6. Browser tests allow you to navigate through web pages and measure frontend metrics, helping you find issues that are hard to catch when testing only the backend.

This page describes the sections of the Test Result view that are added or modified to display browser test results. These sections provide more details about your performance results: Browser Timeline, Browser Metrics, and Browser Screenshots.

Web Vital Metrics

When running a browser test, k6 collects the Web Vital metrics. These metrics provide signals related to loading performance, interactivity, and visual stability, which assess the user experience of your website and identify opportunities for improvement.

MetricDescription
Largest Contentful Paint (LCP)Measures the time it takes for the largest content element on a page to become visible.
Cumulative Layout Shift (CLS)Measures the visual stability on a webpage by quantifying the amount of unexpected layout shift of visible page content.