Skip to content
Kitbay

k6-browser-test

Apache-2.0Updated on Nov 10, 2026307GitHub starsIncludes scripts

A Grafana Labs skill that turns a plain description of a user journey into a k6 browser test.

What the skill teaches

A Grafana Labs skill that turns a plain description of a user journey into a k6 browser test. Before writing the test, the agent explores the live site with a short-lived k6 browser session, built from the skill's exploration script template, to find working role, label and text locators and to dismiss cookie banners. It then writes a functional test with expect() assertions or a browser load test with Web Vitals thresholds, looks up APIs with k6's docs command when needed, validates the test with k6 run and offers to run it. It needs k6 1.2 or later, a Chromium-based browser and network access to the site.

Capabilities

  • Explore a live site to find stable locators
  • Write k6 browser functional tests with expect()
  • Write browser load tests with Web Vitals thresholds
  • Validate tests by running them with k6