Created
November 7, 2022 16:53
-
-
Save wpscholar/325f57611ab25e861511baf5ef44774a to your computer and use it in GitHub Desktop.
A Chrome recording converted into a Cypress test.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe("Connect.tech Demo", () => { | |
it("tests Connect.tech Demo", () => { | |
cy.viewport(952, 976); | |
cy.visit("https://www.google.com/"); | |
cy.get("body > div.L3eUgb > div.o3j99.ikrT4e.om7nvf > form > div:nth-child(1) > div.A8SBwf > div.RNNXgb > div > div.a4bIc > input").click(); | |
cy.get("body > div.L3eUgb > div.o3j99.ikrT4e.om7nvf > form > div:nth-child(1) > div.A8SBwf > div.RNNXgb > div > div.a4bIc > input").type("seo"); | |
cy.type("{enter}"); | |
cy.get("#rso > div:nth-child(5) > div > div > div.Z26q7c.UK95Uc.jGGQ5e > div > a > h3").click(); | |
cy.location("href").should("eq", "https://searchengineland.com/guide/what-is-seo"); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment