Is K6/browser compatible with windows OS?

HI,

I have a use case where I need to write the browser level testing for my application and when I tried to run sample script, am getting chromium.launch() is undefined, when i checked iwth chatgpt, it says k6-browser is not compatible with windows, when I googled I found that it can be possible only throug WSL or docker.

Let me know whether my finding is correct?

Hi @shilpat! Yes, Browser API is compatible with Windows. The chromium.launch() method was removed from the Browser API a long time ago in favor of BrowserContext. Here is a brief example of how to use the Browser API in k6 v1.0+