title: Appium: isDisplayed() vs findElements(by).size
body: <p>Traditionally I always checked for the presence of objects in appium using:</p>
  
  <pre><code>    int count = driver.findElements(by).size();
              if (count == 0) {
          Logger.LogMessage("ElementDoesNotExist: " + by, Priority.Medium);
          return true;
      } else {
          Logger.LogMessage("ElementDoesExist: " + by, Priority.Medium);
          return false;
      }
  </code></pre>
  
  <p>However, I see there is now a isDisplayed() method:</p>
  
  <pre><code>    driver.findElement(by).isDisplayed()
  </code></pre>
  
  <p>Anyone know which is best to use and why?</p>
  
  <p>Thanks,</p>
  
  <p>Charlie </p>