title: JS Selenium findElements won't resolve
body: <p>I am wondering why this code never resolves to success or failure.</p>
  
  <pre><code>driver.findElements(By.id(eid)).then(
        function (ret) {
          console.log("Success");
          return !!ret.length;
        }, function (err) {
          console.log("Failure");
        }
  );
  </code></pre>
  
  <p><a href="https://seleniumhq.github.io/selenium/docs/api/javascript/module/selenium-webdriver/lib/webdriver_exports_WebDriver.html#findElements" rel="nofollow noreferrer">https://seleniumhq.github.io/selenium/docs/api/javascript/module/selenium-webdriver/lib/webdriver_exports_WebDriver.html#findElements</a></p>
  
  <p><a href="https://github.com/SeleniumHQ/selenium/blob/master/javascript/node/selenium-webdriver/lib/webdriver.js#L1049" rel="nofollow noreferrer">https://github.com/SeleniumHQ/selenium/blob/master/javascript/node/selenium-webdriver/lib/webdriver.js#L1049</a></p>