title: How to get a list of elements in Appium
body: <p>I am using appium and dot-net-driver.</p>
  
  <p>Im trying to go thru all activity's of an app and get all the elements on every page.</p>
  
  <p>but im unable to find the right way to get a list of all elements.</p>
  
  <p>i tried to use c# regular expressions but with no luck.</p>
  
  <p>if anyone have stumbled upon this issue and can help it will be much appreciated!</p>
  
  <p>what i have tried to do:</p>
  
  <pre><code>     public void getElementToFile()
      {
          //var elementsList = driver.FindElementsByXPath("//android.widget");
          var elementsList = driver.FindElementsByClassName("android.widget");
          foreach(var element in elementsList){
              WritingText(element.Text);
          }
  
      }
  </code></pre>