title: I want to trigger the text using mouseover in cypress with javascript?
body: <pre><code>cy.xpath(&quot;(//[local-name()='svg']//[name()='g' and @data-z-index='8'])[1]//*[name()='text']&quot;).wait(300)
  .trigger('mouseover', { force: true }).then(($text1) =&gt; {
          var textValue2 = $text1.text()
          cy.log(textValue2)
  })
  </code></pre>
  <p>This is code I'm using triggering to perform mouseover to get the text
  facing error not finding the element showing &quot;Timed out retrying after 4000ms: Expected to find element: (//[local-name()='svg']//[name()='g' and @data-z-index='8'])[1]//*[name()='text'], but never found it.&quot;</p>
  <p><strong>Note</strong>: But the xpath is correct, If I manually hover then retrieve the text.</p>