https://grafana.com/docs/k6/next/javascript-api/k6-browser/page/waitforresponse/
Browser module: page.waitForResponse(urlPattern[, options]) method
urlpatternoptionsgrafanadocumentation
https://caniuse.com/mdn-api_urlpattern_hasregexpgroups
"Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.
support tablesurlpatternapiuse
https://jsdev.space/urlpattern-router-node24/
Learn how to use the native URLPattern API as a lightweight, framework-free router in both browsers and Node.js 24 for unified client-server routing.
usingurlpatternframeworkfreerouter