- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone,
There's an example of using cypress filters to pick a particular element -
<ul>
<li>Home</li>
<li class="active">About</li>
<li>Services</li>
<li>Pricing</li>
<li>Contact</li>
</ul>
// yields <li>About</li>
cy.get('ul').find('>li').filter('.active')
What can I do if I need to picket the text 'About' instead of the class '.active'?
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This question pertains to cypress.io which is a front-end testing tool. You are in the wrong "Cypress" community, you might want to put your query here: cypress-io/cypress - Gitter
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can you please elaborate more on your query?
What is your application? What kind of device are you looking for your application?
Thanks
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This question pertains to cypress.io which is a front-end testing tool. You are in the wrong "Cypress" community, you might want to put your query here: cypress-io/cypress - Gitter
Regards,
Dheeraj