Relative Content

Tag Archive for javascriptcypress

Trying to concatenate with variable value getting Undefined in Cypress

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) it’s getting unefined. I want to be display like “John Hello….” javascript cypress New contributor Ish is a […]