title: How to get content-desc in Android app using appium
body: <p>I am writing automation test for Android app.</p>
  
  <p>When I am trying to get content-desc for article title. I am not able to fetch it.</p>
  
  <p>FYI I don't have text.</p>
  
  <pre><code>List&lt;WebElement&gt; arrayOfProperties2 = driver.findElementsByClassName("android.view.View");
  
  for (WebElement property : arrayOfProperties2){
      System.out.println("property" + property.getClass());
  
      String contentDesc = property.getAttribute("name");
      String contentDesc1 = property.getAttribute("className");
      String contentDesc2 = property.getAttribute("resourceId");
      System.out.println("contentDesc" + contentDesc);
      System.out.println("contentDesc1" + contentDesc1);
      System.out.println("contentDesc2" + contentDesc2);
  }
  </code></pre>
  
  <p>Result:-</p>
  
  <pre><code>contentDesc
  contentDesc1android.view.View
  contentDesc2
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/FocZT.png" alt="enter image description here"></p>