Install Cypress / cypress-xpath

 create a folder :-  cypressautomation

gp to folder and open CMD by typing nav bar 

npm init

cypressautomation


npm install cypress --save-dev

install cypress 


npm install cypress --save-dev






npx cypress open

node_modules\.bin\cypress open


~~cypress-xpath instaion~~

npm install -D cypress-xpath

1 show under package.json



Add on support/e2e.js folder  

require('cypress-xpath');





if the version change to 12.0.1

to update the version use the cmd prompt or restart the PC 

https://www.npmjs.com/package/cypress


npm install --save-dev cypress