⚠️ 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
Missing Playwright APIs
- finished(): dependent on event-loop support in k6.