Does k6 Support Playback on Electron? Any Plans for Future Support?

We have been using k6 for browser-based performance and functional testing, and our current tests work great on Chrome. However, I am curious if k6 also supports playback on Electron-based applications.

Electron is widely used for building desktop apps, and having k6’s capabilities extended to support Electron could provide significant value for teams testing these technologies.

If k6 doesn’t currently support Electron, are there any plans to add this functionality in the future? Alternatively, are there recommended approaches or workarounds for testing Electron applications using k6?

Hi @pbains1,

This is a good question. I ran a quick test with a simple electron app and unfortunately it doesn’t work. Although k6 can connect to the running instance of the electron app with a websocket connection, it cannot currently retrieve the page that the electron app is displaying.

For now, there aren’t any alternate solutions that you can use to work with k6 and electron unfortunately. I have created an issue to track this request.

Best,
Ankur