2 Replies Latest reply on Nov 12, 2020 11:45 PM by DheerajK_81

    Using cypress filters to pick the text of an element


      Hi everyone,


      There's an example of using cypress filters to pick a particular element -




        <li class="active">About</li>





      // yields <li>About</li>

      What can I do if I need to picket the text 'About' instead of the class '.active'?


      Thank you.