We're converting the browser's sync methods to async. We noticed that check intentionally does not allow async methods in it. This issue isn't great for user experience (also considering the browser's 150ish methods will be async). Can we find a way to make this more user-friendly?
### Tasks
- [ ] https://github.com/grafana/k6-jslib-utils/pull/13
- [x] Upload the library
- [ ] https://github.com/grafana/k6-docs/issues/1725
- [x] k6: Add it to release notes
What
Add a helper that supports asynchronous
check
functionality.Example (currently, it does not work):
We use the following code until we add async
check
support:Why
We're converting the browser's sync methods to async. We noticed that
check
intentionally does not allow async methods in it. This issue isn't great for user experience (also considering the browser's 150ish methods will be async). Can we find a way to make this more user-friendly?