appium-desktop icon indicating copy to clipboard operation
appium-desktop copied to clipboard

Feature Request: Launch Appium Desktop Inspector From Command Line & Attach to Session

Open mrk-han opened this issue 5 years ago • 1 comments

Appium or Appium Desktop?

  • [X] I have verified that my issue does not occur with Appium and should be investigated as an Appium Desktop issue

The problem

It would be really nice to be able to launch the Appium Inspector from the command line if we provide the relevant Session Info

Also, have it automatically detect the local session that was started (similar to how it auto detects when attaching to session when started from Appium desktop) (Theory is that this works with terminal but not iterm2 currently)

It is somewhat unintuitive and cumbersome to have to open Appium Desktop and cmd + n to open a new session, then paste in the sessionID to attach.

Proposed solution would end up looking something like: appium -a 127.0.0.1 -p 4723 appium-desktop inspect -i 0043c1ff-4714-41f6-bfc7-c4dc8f5268b7 (provide ID)

or

appium -a 127.0.0.1 -p 4723 appium-desktop inspect (Attempts to detect ID of session automatically if only one is running, else prompts user to provide session id)

Environment

  • I am running Appium Desktop version Version 1.13.0 (1.13.0.20190505.6).
  • I am on (pick one):
    • [X] Mac

mrk-han avatar Oct 28 '19 18:10 mrk-han

@KazuCocoa

My theory is that Appium Desktop can pick up the session if launched from the Terminal app, but NOT iTerm2.

So this feature would also include the ability for appium desktop to automatically pick up the session when launched from iTerm2.

mrk-han avatar Nov 21 '19 15:11 mrk-han