Cypress – way to make contains() work in case-insensitive way August 24, 2023 by Tarik As of 4.0.0, Cypress offers matchCase option with contains… cy.get('div').contains('capital sentence', { matchCase: false })