title: How can I dump UI objects programatically in Appium?
body: <p>I have a C# project with Appium for Android to test Xamarin Android App.</p>
  
  <p>I normally do <em>Find Elements</em> and <em>Press Elements</em> actions using Appium driver.</p>
  
  <p>Now I am searching for a possibility to dump the entire UI objects and validate whether all the objects are present in the UI.</p>
  
  <p>I am aware of <em>UiAutomatorViewer.bat</em>, but it is a manual activity. I want to do it programmatically to some XML format (or whatever possible).</p>
  
  <p>Is there any way to do dump programmatically? Any alternative suggestion is also welcome.</p>
  
  <p>Additional note: I know <em>squish helps</em> in that, but it is a paid version.</p>