title: How to return an empty List when nothing found
body: <p>I wonder how to return an empty <code>List</code> when i try to find some <code>WebElement</code> but nothing found.
  Of course i want to avoid crash so this is what i have try:</p>
  
  <pre><code>def getList(): List[WebElement] = {
  
      try {
        driver.fineElements(By.xpath("bla bla))
      }catch{
        case e: TimeoutException =&gt; // What should i put here ???
      }
    }
  </code></pre>