title: Pass a Selenium WebElement to WebDriverWait
body: <p>I'm trying to click a Javascript link, but I can't get it to work.
  First I'm getting list of Links using this code:</p>
  <pre><code>links = driver.find_elements_by_xpath(&quot;(//div[@class='market-box-wp collapse in'])[1]//a[@class='truncate']&quot;)
  </code></pre>
  <p>then trying to click some of them</p>
  <pre><code>links[3].click() #Doesn't work
  </code></pre>
  <p>I found this solution online for Javascript links, but it's using xPath, not sure how to pass links[3] to it:</p>
  <pre><code>WebDriverWait(browser, 20).until(EC.element_to_be_clickable((By.XPATH,&quot;Xpath of Element&quot;))).click()
  </code></pre>