Cypress Cheat Sheet
Since you have landed on this blog post which means you already have started to know about Cypress and wanted have a quick glance of the Cypress commands. Cypress Commands /// <reference types="Cypress"/> add the above line to make use of intelli sense in cypress ide visual studio code editor cy.visit similary to driver.get() or navigate() in Selenium Webdriver. To launch a url in the browser. cy.get('csslocator') get is like findElement, identifies the element in the web page based on css provided. wait explicitly for an element: cy.get('#id1', {timeout: <timeinmilliseconds>}) when finding an element, adding additional parameter "timeout" makes cypress to wait for the specified time interval until the element is visible. cy.wait(time) similar to thread.sleep cy.type('learner') enters text in the textbox cy.get('#abc:visible') retrieves only visible elements cy.get('#abc').find('