Skip to main content

How to resolve "No Driver Found" error in mobile testing?

This error message shows when executing mobile tests:
com.kms.katalon.core.exception.StepFailedException: No driver found
  1. Make sure to set a correct directory in Appium Directory. In Katalon Studio, navigate to Preferences > Katalon > Mobile.

    For MacOS, the Appium Directory is: usr/local/lib/node_modules/appium

    For Windows, the Appium Directory is: C:\npm\node_modules\appium

  2. Make sure you were using the Mobile.startApplication function in your test or test suite as the first step. If the application hasn't started, you might see that error message.
  3. If you're using a test suite, do not start and stop the application between tests, instead start it once at the beginning of the suite and shut it down at the end. Repeated starting and stopping of the application can put the driver in a bad state.
  4. Before running a test or test suite, check your running system processes for Appium. Sometimes these processes don't quit completely and can interfere with future tests run.