https://grafana.com/docs/k6/latest/using-k6-browser/recommended-practices/sleep-vs-page-wait-for-timeout/
When to use sleep() and page.waitForTimeout() | Grafana k6 documentation
use sleepwaitfortimeout
https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/waitfortimeout/
waitForTimeout(timeout) | Grafana k6 documentation
timeout grafanawaitfortimeout