Playwright APIRequest

In Playwright, I am able to send APIRequests from the browser using this technique:

My API needs some cookies and session state established within the browser before it can call the API Endpoints directly. So I’ve done this before with the playwright technique I linked above. But now I want to use k6/browser instead, but I cannot see the ability to send API Requests from the browser context. Is this possible with grafana k6/browser?