Appium Inspector throws - Error Starting Selenium Driver

1,010 views
Skip to first unread message

Buddha Tree

unread,
May 6, 2014, 10:27:08 AM5/6/14
to appium-...@googlegroups.com
  1. Started my app on Android Emulator
  2. App UI is shown on Emulator screen
  3. Clicked on Appium Inspector icon
  4. Shows text - Error Starting Selenium Driver

What is the correct way to start Appium Inspector?

Buddha Tree

unread,
May 6, 2014, 10:33:57 AM5/6/14
to appium-...@googlegroups.com
Just to Add - On,
  1. App is launched by Appium on Emulator
  2. Pause script execution in Eclipse
  1. Clicked on Appium Inspector icon

    Error starting Selenium Server is shown

    I am using Appium 1.0.

    I have a small query, if Appium inspector is not working, what is the workaround to view object detail

    Dan Cuellar

    unread,
    May 6, 2014, 3:30:34 PM5/6/14
    to appium-...@googlegroups.com
    You need to have the "pre-launch application setting" along with an app path set
    Message has been deleted
    Message has been deleted

    Houston Haynes

    unread,
    Aug 12, 2014, 12:53:38 PM8/12/14
    to appium-...@googlegroups.com
    Solved my own issue... per earlier in this thread - putting anything in the path with a space in it (i.e. using "Program Files") is asking for trouble. I moved everything to non-spaced paths and reset all of my environment variables and all is well.

    On Tuesday, July 22, 2014 10:02:01 AM UTC-7, Houston Haynes wrote:
    I'm having the same issue, but the posted response doesn't help me because I already had those settings in place. As stated, when clicking the "Refresh" button in the Inspector I get a "Error Starting Selenium Driver" message. I've spent a few days going around the mulberry bush on this, and can't for the life of me figure out what the remediation steps might be.

    First - I'm on Windows (don't judge), and understand and have followed the setup instructions very closely. Here's my appium-doctor result:

    c:\Git\appium>appium-doctor --android
    Running Android Checks
     ANDROID_HOME is set to "C:\Program Files\adt-bundle-windows-x86_64-20140702\sdk"
     JAVA_HOME is set to "C:\Program Files\Java\jdk1.8.0_11."
     ADB exists at C:\Program Files\adt-bundle-windows-x86_64-20140702\sdk\platform-tools\adb.exe
     Android exists at C:\Program Files\adt-bundle-windows-x86_64-20140702\sdk\tools\android.bat
     Emulator exists at C:\Program Files\adt-bundle-windows-x86_64-20140702\sdk\tools\emulator.exe
     Android Checks were successful.


     All Checks were successful


    c
    :\Git\appium>


    I have a great deal of experience building out selenium-based frameworks for web testing, but this is my first blush attempt with appium and mobile.  I don't see any errors when running reset.bat, and I can run uiautomatorviewer without error (and it can find objects on-screen without issue). I feel like there's some implied requirement that's missing from the documentation. 

    Why is selenium driver being called out when everything I read about appium implies (and in some cases outright states plainly) that selenium classes are not required?

    Thanks in advance for cribbing me through...
    Reply all
    Reply to author
    Forward
    0 new messages