title: How to check if an element is a clickable button and not a text?
body: <p>I'm trying to test a web application. there is an element that sometimes it's just a text and sometimes it's clickable.
  How can I distinguish between when it's a clickable button and a simple text?
  (the text inside of the element is the same in both situations.)
  the only difference is <strong>::after</strong> pseudo-elements.</p>
  
  <pre><code>&lt;h2 class="line_10001"&gt;
  Goal
  &lt;/h2&gt;
  
  &lt;h2 class="line-10001"&gt;
  Goal
  ::after
  &lt;/h2&gt;   
  </code></pre>
  
  <p>Thanks for your help :)</p>