Closed troppoli closed 1 year ago
I ended up hacking in a onComplete in my wdio config
onComplete: function(exitCode, config, capabilities, results) {
// we should not have to do this, and the ts types don't jive with the doc above about promises.
simpleExec('START /wait taskkill /f /im chromedriver.exe')
}
Closing in favour of https://github.com/webdriverio-community/wdio-electron-service/issues/50 as this repo is being moved into wdio-electron-service
.
I'm on windows 10, node 14.9.3.
You cannot run
npm run test
twice because the chomedriver process does not exit. You have to manually kill the process. I was experiencing this in the project I'm migrating to wdio and wdio-electron-servic. I'm not sure if it's a configuration problem or a wdio-electron-service issue.