I am new in Cypress, Pls help me
cy.get('#name').type('Mani')
var Name =cy.get('#name').text
cy.log(Name)
cy.log(Name+ 'Hello, this practice page and share your knowledge')
I stored the name in the ‘Name’ variable and display it properly in cy.log(Name).But
when I am trying to concatenate with variable(Name) its getting Undefined, Pls help me
I want to be display like “John Hello….”
New contributor
Ish is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.