What are hooks in Cypress, and how are they used? | Test Writing and Syntax | Cypress Interview Questions | NextRound.in