⚠️ Compatibility
The xk6-browser API aims for rough compatibility with the Playwright API for NodeJS.
Because k6 does not run in NodeJS, the xk6-browser API will slightly differ from its Playwright counterpart.
Note that k6 APIs are synchronous.
Supported APIs
Method | Playwright Relevant Distinctions |
---|---|
touchscreen.tap(x, y) | - |