Greetings again!
I have to wait 2-3 seconds between each call to the driver otherwise I get socket timeout errors. Is there a way around this? Additionally, is it only me that is experiencing this?
This is the error I get:
selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up
Stacktrace:
UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up
at JWProxy.command (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:274:13)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at XCUITestDriver.proxyCommand (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/commands/proxy-helper.js:96:12)
at XCUITestDriver.mobileQueryAppState (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/commands/app-management.js:83:10)
at XCUITestDriver.queryAppState (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/commands/app-management.js:106:10)
Looking forward to your response!
Kind regards,
Simon