"Error: socket hang up" / "No driver found"


Why quite frequently I’ve got these annoying “Socket Hang Up” or “No driver found” during my TestSuiteExecution ?

These problems occur randomly during execution and a if I run again the failed test its finally passed.

Failed to tap on element ‘Object Repository/ArticleBarreDetail/LinearLayout - Article’ ( Root cause: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: socket hang up

OR this error

Test Cases/Composant/C - Login caisse FAILED.
Reason: com.kms.katalon.core.exception.StepFailedException: No driver found

I’m using : Katalon Studio Enterprise 7.8.2 with Appium 1.15.0

NB: for today I execute my TestSuite with 15 tests = 8 PASSED all the other FAILED because of these “No driver found” !!!

big lack of reliability of this solution, we lose so much time in our tests these days…