Browser Testing with k6
Browser automation should be an important part of your performance testing strategy, especially with web applications. In this video, get to know our k6 browser module. This experimental module provides browser-level APIs that let you automate tests from a browser perspective and collect frontend performance metrics as part of your existing k6 scripts.
Chapters
00:00 - The importance of frontend performance testing
01:00 - The k6 browser module
01:46 - Code walkthrough
04:57 - Running the test
05:25 - Hybrid performance testing with k6
Useful resources
📝 k6 browser documentation - https://k6.io/docs/javascript-api/k6-browser/
🗂️ Github project - https://github.com/grafana/xk6-browser
👩💻 Github repo for k6 browser demo - https://github.com/mdcruz/k6-browser-demo