grafana / xk6-browser

The browser module adds support for browser automation and end-to-end web testing via the Chrome Devtools Protocol to k6.
https://grafana.com/docs/k6/latest/javascript-api/k6-browser/
GNU Affero General Public License v3.0
344 stars 41 forks source link

Add tracing to page.waitForTimeout #1471

Closed ankur22 closed 1 month ago

ankur22 commented 1 month ago

What?

This instruments page.waitForTimeout with tracing.

Why?

We do this so that we can identify when a test is waiting/sleeping.

Checklist

Related PR(s)/Issue(s)

Updates: https://github.com/grafana/xk6-browser/issues/1426