title: VBA, Selenium findelements and click or submit not working
body: <p>I'm trying to get selenium to click elements but nothing happend, i tried using xpath, name, text but not successfull
  here is this element:</p>
  <pre><code>&lt;a href=&quot;javascript:void(0);&quot; onclick=&quot;startProcess('QC inspector creates inspection report');&quot;&gt;QC inspector create inspection report&lt;/a&gt;
  </code></pre>
  <p>xpath</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>//*[@id="CustomHTML0"]/table/tbody/tr[4]/td[2]/a</code></pre>
  </div>
  </div>
  </p>
  <p>here is my code:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>Dim Crn As Selenium.WebElements
  Set Crn = Bot.FindElementsByLinkText("QC inspector create inspection report", timeout:=5000)
  Crn(1).Submit</code></pre>
  </div>
  </div>
  </p>
  <p>or</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>Dim Crn As Selenium.WebElements
  Set Crn = Bot.FindElementsByXpath("//*[@id="CustomHTML0"]/table/tbody/tr[4]/td[2]/a", timeout:=5000)
  Crn(1).Submit</code></pre>
  </div>
  </div>
  </p>
  <p>please help me, or point out where i went wrong
  Thank you very much
  Here is more code:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;table border="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td valign="top" width="200px"&gt;&lt;font size="+1"&gt;Master Maintenance&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="/teamworks/executeServiceByName?processApp=QCINSP&amp;amp;serviceName=QA_COL-Vendor%20Factory%20Maintenance"&gt;Vendor Factory Maintenance&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top" width="200px"&gt;&lt;font size="+1"&gt;Enquiry&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="/teamworks/executeServiceByName?processApp=QCINSP&amp;amp;serviceName=QA_COL-QA%20user%20inquiries%20inspection%20report"&gt;QA user inquiries inspection report&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top" width="200px"&gt;&lt;font size="+1"&gt;&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="/teamworks/executeServiceByName?processApp=QCINSP&amp;amp;serviceName=QA_COL-QA%20user%20inquiries%20inspection%20report%20eConnect2"&gt;QA user inquiries inspection report eConnect2&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top" width="200px"&gt;&lt;font size="+1"&gt;Update&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="javascript:void(0);" onclick="startProcess('QC inspector creates inspection report');"&gt;QC inspector create inspection report&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top" width="200px"&gt;&lt;font size="+1"&gt;&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="javascript:void(0);" onclick="startProcess('Vendor creates inspection report');"&gt;Vendor creates inspection report&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top" width="200px"&gt;&lt;font size="+1"&gt;&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="/teamworks/executeServiceByName?processApp=QCINSP&amp;amp;serviceName=QA_COL-Vendor%20create%20inspection%20requisition"&gt;Vendor create inspection requisition&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top" width="200px"&gt;&lt;font size="+1"&gt;&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="javascript:void(0);" onclick="startProcess('VA inspector creates correlation report');"&gt;VA inspector create correlation inspection report&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top" width="200px"&gt;&lt;font size="+1"&gt;&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="/teamworks/executeServiceByName?processApp=QCINSP&amp;amp;serviceName=VA%20inspector%20revise%20correlation%20report"&gt;VA supervisor revise approved correlation inspection report&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top" width="200px"&gt;&lt;font size="+1"&gt;Enquiry&lt;/font&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="/teamworks/executeServiceByName?processApp=QCINSP&amp;amp;serviceName=QA_COL-QA%20user%20inquiries%20correlation%20report"&gt;QA user inquiries correlation inspection report&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;</code></pre>
  </div>
  </div>
  </p>