title: Get value in script tag using cypress
body: <p>I have the following Div:</p>
  <p><code>&lt;script type=&quot;state&quot; data-a-state=&quot;{&quot;key&quot;:&quot;value&quot;}&quot;&gt;{&quot;stateVal&quot;:false}&lt;/script&gt;</code></p>
  <p>How can I extract the value of &quot;stateVal&quot; using Cypress which should be <code>false</code>? Based on the value, I need to take a decision.</p>