You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment there is no way to run k6 browser against an electron app. We can start a websocket devtools connection, and connect to it, but there is no way to retrieve the current browserContext or page that the electron app is displaying.
try to run a simple k6 browser test, it soon becomes clear that we won't be able to retrieve the existing page that the electron app is displaying. e.g. K6_BROWSER_WS_URL=ws://127.0.0.1:8315/devtools/browser/b62d813a-97b6-4307-adb2-69f2c5c86f53 k6 run electron.js
Feature Description
At the moment there is no way to run k6 browser against an electron app. We can start a websocket devtools connection, and connect to it, but there is no way to retrieve the current
browserContext
orpage
that the electron app is displaying.Steps to reproduce the current state are:
npm install
npm start
K6_BROWSER_WS_URL=ws://127.0.0.1:8315/devtools/browser/b62d813a-97b6-4307-adb2-69f2c5c86f53 k6 run electron.js
Suggested Solution (optional)
Take a look at how PW is experimenting with testing a electron app: https://playwright.dev/docs/api/class-electron.
Already existing or connected issues / PRs (optional)
No response
The text was updated successfully, but these errors were encountered: