WebDriverError: session not created - Testing Electron app with WebdriverIO and Cucumber #14708
minh-de-rien
started this conversation in
Technical Discussion
Replies: 1 comment
-
|
@minh-de-rien I recommend to raise an issue in the Electron Service project. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I'm trying to write E2E tests for my Electron app using WebdriverIO + Cucumber (BBD). I keep encountering the session creation fails with a "user data directory is already in use" error.
Here is my error
Here is my WDIO config excerpt
What I already tried
--inspectarg / using ephemeral port--user-data-dirper run (withDate.now())What I observed
maxRetriesis 0, the app launches after the terminal closes (so no tests run).Packages Version
I haven’t yet found a plausible solution; do you have an idea what is going on?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions