Cypress Beginner Tutorial 6 | How to access elements

Published: 17 March 2021
on channel: Automation Step by Step
49,479
523

Cypress Quiz - https://automationstepbystep.com/quiz...
Stories by Raghav - https://automationstepbystep.com/stor...
Hi, In this video we will start creating the project for Cypress

Step 1 - Run test
Step 2 - On the browser - App Preview - click Selector Playground
Step 3 - Copy the cy.get command and paste in the test script
Step 4 - Add custom timeouts - command level
cy.get('.className, {timeout:5000}).type('123{enter}')
Step 5 - Add custom timeouts - global level- cypress.json
"defaultCommandTimeout": 10000
Step 6 - Access element with text
cy.contains('Videos').click()
cy.wait() cy.wait(5000)

Join Automation Step By Step channel: https://www.youtube.com/automationste...
#CypressTutorial

Every LIKE & SUBSCRIPTION gives me great motivation to keep working for you

You can support my mission for education by sharing this knowledge and helping as many people as you can

If my work has helped you, consider helping any animal near you, in any way you can

Never Stop Learning
Raghav
https://automationstepbystep.com/


Watch video Cypress Beginner Tutorial 6 | How to access elements online without registration, duration hours minute second in high quality. This video was added by user Automation Step by Step 17 March 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 49,479 once and liked it 523 people.