title: How to verify table element and click on other element with Selenium
body: <p>I am trying to create a <strong>scraper</strong> that enters a website and downloads an XML file containing a balance sheet from real estate funds.</p>
  <p>With the code below, I enter a website for a specific fund with document number 07000400000146 (at the end of URL), filter the documents with a search bar on the website, and click to download the first document in the table using XPath.</p>
  <pre><code>driver.get('https://fnet.bmfbovespa.com.br/fnet/publico/abrirGerenciadorDocumentosCVM?cnpjFundo=07000400000146')
  driver.find_element_by_css_selector(f'input[type=&quot;search&quot;]').click()
  driver.find_element_by_css_selector(f'input[type=&quot;search&quot;]').send_keys('informe mensal')
  time.sleep(1)
  driver.find_element_by_xpath('//*[@id=&quot;tblDocumentosEnviados&quot;]/tbody/tr[1]/td[10]/div/a[2]/i').click()
  </code></pre>
  <p>How can I create a boolean expression to discover if a row is of 03/2020 or 02/2020 or 01/2020, in column &quot;Data de Referência&quot; and then download all the available files for each corresponding dates?</p>