How can I open appium-inspector from command line?

I need to open Appium-inspector from terminal on mac. please suggest.


I think you can open appium gui only. The command is

open -a appium

1 Like

Thanks @divakar20 It helped me !
But, I think me must have a command to directly open inspector by specifying app details and device details

How can I pass app, bundle id and other details as arguments?

Do we have an answer for this question? how to run inspector from terminal and get xml of the page?
thanks :slight_smile:

If you want just XML, just print getPageSource() for each page…