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
343 stars 41 forks source link

Async `Tap` #1251

Closed ankur22 closed 6 months ago

ankur22 commented 7 months ago

We want to convert the touchscreen.tap API from being synchronous to async (promisify). This will include:

  1. De-gojafying the tap method in the common package.
  2. Move the goja code into the mapping layer.
  3. Wrap the call to touchscreen.tap from the mapping layer in a promise.

Related Issue: https://github.com/grafana/xk6-browser/issues/428

### Tasks
- [ ] #1265
- [ ] #1268
- [ ] grafana/k6-DefinitelyTyped#36
- [ ] grafana/k6-docs#1564
- [ ] grafana/k6#3723
inancgumus commented 6 months ago

The doc updates will continue in #1293.