title: How to select all anchor tags with specific text content with Javascript?
body: <p>I want to use the selector in document.querySelector() to select all a tags with the text "print".</p>
  
  <pre><code>&lt;a href="https://www.google.co.in"&gt;print&lt;/a&gt;
  </code></pre>
  
  <p>how can I select the same. I don't want to use jQuery. I doesn't have to be querySelector only but any other selector will do.</p>