https://cypress.io logo
This is my code in cypress 10 ```js describe("Test...
# e2e-testing
m
This is my code in cypress 10
Copy code
js
describe("Testsuite with remove attr",()=>{

  it("remove attr",()=>{
    cy.setCookie("SOCS","CAISHAgBEhJnd3NfMjAyMjEwMTctMF9SQzMaAm5sIAEaBgiAiNKaBg",{
      domain: ".google.ru"
    })
    cy.visit("https://www.google.ru")
    cy.get( "input[name=q]").type("Byndyusoft{ENTER}");
    cy.get("a[href='https://byndyusoft.com/']").first().invoke('removeAttr', 'target').click()
    cy.origin("https://byndyusoft.com/", ()=> {
      cy.get("section div[class='know-more__container'] span:nth-child(2)").click()
    })
  })
})