title: How can I find all elements and put them in a list using Selenium?
body: <p>I have a number of unit tests. I want to find all elements on my screen and put them into a list. I have tried something like the example below. However, I don't want to find a number of elements by their name; I just want to find them all.</p>
  
  <p>Is it possible to do this using Selenium?</p>
  
  <pre><code>IList&lt;WindowsElement&gt; elements = driver.FindElementsByAccessibilityId(element);
  Debug.WriteLine(elements);
  Thread.Sleep(200);
  if (elements.Count &gt; 0)
  {
  
  }
  </code></pre>