Search code examples
androidandroid-emulatorappium

Appium "Inspector Connection Error"


I wrote a simple test with Appium and it's working. But now, i want to use the Appium Inspector to be able to find elements to test a mobile website. (i'm not testing a special App, i'm just using the default browser).

And this is the error i have: "Inspector Connection Error" enter image description here

I know I can just find the elements in the computer, but i would like to know why I've got this error.


Solution

  • From the error message it seems the appium server is not running, but your appium server log(partially seen) show that it requires set up the capabilities. To use inspector, it is required to enter the capabilities.

    Enter the app path (the path to apk file), package name, app activtiy.

    If you are not using any apk file, then run UIAutomatorviewer.bat file located in Andriod sdk folder