same issue with my code, sometimes i got error if running my case.
how to fix it?
i use node 18 and webdriverio
"@wdio/cli": "^9.12.7",
"@wdio/local-runner": "^9.12.7",
"@wdio/mocha-framework": "^9.12.6",
"@wdio/spec-reporter": "^9.12.6",
"appium-uiautomator2-driver": "^4.2.3",
"wdio-wait-for": "^3.1.0"