<body>
<style>/* Hey, I’m a style tag */</style>
<script>// Hello, I’m a script</script>
</body>
cy.contains('Hey, I’m a style tag'); // will not select <style> in v9
cy.contains('Hello, I’m a script'); // will not select <script> in v9
cy.get('body style').should('contain.text', 'Hey, I’m a style tag');
cy.get('body script').should('contain.text', 'Hello, I’m a script');