title: problem with find an element using cypress and xpath
body: <p>I'm trying write a code (using cypress) to bypass long press verification such that
  <a href="https://i.stack.imgur.com/0tOks.jpg" rel="nofollow noreferrer">verification image</a></p>
  <p>this is inspect&gt;&gt; id and class values are changes every session
  <code>&lt;p id=&quot;oVzBRZgfQmDATFj&quot; class=&quot;NMBmfXVZnqeiNEY&quot; style=&quot;animation: 111.8ms ease 0s 1 normal none running textColorIReverse;&quot;&gt;Press &amp;amp; Hold&lt;/p&gt; </code></p>
  <p>I was tried XPath Selectors and i get the following:
  //p[text()='Press &amp; Hold']</p>
  <p>//p[starts-with(text(),'Press &amp; Hold')]</p>
  <p>//p[position()=1]</p>
  <p>//p[normalize-space()='Press &amp; Hold']</p>
  <p>//p[last()]</p>
  <p>//p[contains(text(),'Press &amp; Hold')]</p>
  <p>//p[contains(normalize-space(),'Press &amp; Hold')]</p>
  <p>//p[.='Press &amp; Hold']</p>
  <p>After experiment each of them such as element:</p>
  <pre><code>cy.xpath('//p[starts-with(text(),&quot;Press &amp; Hold&quot;)]').trigger('mousedown')
  cy.wait(10000)
  cy.xpath('//p[starts-with(text(),&quot;Press &amp; Hold&quot;)]').trigger('mouseup')
  </code></pre>
  <p>This error appears:
  Timed out retrying after 4000ms: Expected to find element: //p[starts-with(text(),&quot;Press &amp; Hold&quot;)], but never found it.
  <a href="https://i.stack.imgur.com/0bhaA.jpg" rel="nofollow noreferrer">error image</a></p>