Because k6 does not run in NodeJS, the xk6-browser API will slightly differ from its Playwright counterpart.
Note that k6 APIs are synchronous.
|Method||Playwright Relevant Distinctions|
The following missing APIs depends on event-loop support in k6:
🚧 xk6-browser is in beta - we are working to cover more Playwright APIs.