Update relevant ElementHandle methods from sync to async.
Checklist
[x] I have used a meaningful title for the PR.
[x] I have described the changes I've made in the "What?" section above.
[x] I have performed a self-review of my changes.
[x] I have run the npm start command locally and verified that the changes look good.
[x] I have made my changes in the docs/sources/next folder of the documentation.
[ ] I have reflected my changes in the docs/sources/v{most_recent_release} folder of the documentation.
[ ] I have reflected my changes in the relevant folders of the two previous k6 versions of the documentation (if still applicable to previous versions).
What?
Update relevant
ElementHandle
methods from sync to async.Checklist
npm start
command locally and verified that the changes look good.docs/sources/next
folder of the documentation.docs/sources/v{most_recent_release}
folder of the documentation.Related PR(s)/Issue(s)
Updates: grafana/xk6-browser#1296