Tanin Na Nakorn

Results 35 comments of Tanin Na Nakorn

Oh I didn't know that. I tested it. It works as expected when `appArgs` is `[]` (opening the default electron window) or `['--version']` (open and close immediately), but it doesn't...

Thank you. I'm not blocked since I can modify launcher.js directly. I think we have a good hypothesis that v19 might work. Solving #422 sounds like a good next step...

Thank you. I'm updating [superintendent.app](https://superintendent.app) from version 19 to 29, and now my tests are not working. The error is `default_app.asar/main.js`: ![image](https://github.com/webdriverio-community/wdio-electron-service/assets/494417/be17f450-8d1b-4ffb-8449-3e16a3dd0da2) I'll check out your branch and report back.

Actually, my error is different. It says ENOTDIR and that the file doesn't exist. Starting `./node_modules/.bin/electron --app=./dist/dev/main.js` works normally. This is perplexing. Edit: debug a bit more. I think there...

I've digged a little bit deeper and am not quite sure whether the bug lies in chromedriver. I ran chromedriver manually with: `./chromedriver --port=49850 --binary=./chromedriver --verbose --log-path=/tmp/chromedriver.log --allowed-origins=* --allowed-ips=0.0.0.0` Then,...

I am unblocked. I can start the chromedriver separately and set the port in wdio.conf.ts in order to avoid wdio spawning chromedriver. It's odd that this works.

Let me get the log for you. I wanted to share a bit more: - For `cp.spawn(chromedriverExcecuteablePath, driverParams)` on this [line](https://github.com/webdriverio/webdriverio/blob/main/packages/wdio-utils/src/node/startWebDriver.ts#L86), if we swap it with `cp.execFileSync(...)`; it'll block. Then,...

Nvm. I've figured out the culprit. It's the env variable: `NODE_OPTIONS=' --loader ts-node/esm/transpile-only --no-warnings'` You can start 2 chromedrivers from terminal and try to create a session: * `NODE_OPTIONS=' --loader...

Nvm again. It is used by Electron. We can reproduce the error by running `NODE_OPTIONS=' --loader ts-node/esm/transpile-only --no-warnings' ./node_modules/.bin/electron`

I encountered the same issue. The solution is to append to the parent instead with: `tippy('[data-tippy-content]', {appendTo: 'parent'})`