In Non Domain Laptop
Steps to Setup And Install Cypress In our System
Prerequisite:
- macOS 10.9 and above (64-bit only)
- Linux Ubuntu 12.04 and above, Fedora 21, and Debian 8 (64-bit only)
- Windows 7 and above (64-bit only)
- Node.js 18 or 20 and above
Step 1: Open VS code and click on ‘’File’’ on the menu bar. Go to the folder where you want to save the project:
Step 2: Click ‘’terminal’’ on the menu bar and click on ‘’new terminal’’
Step 2: Run ‘’npm init -y’’
Step 3: Run “npm install cypress --save-dev”:
(This might take some time)
Step 4: Run “npx cypress open”:
A new window of cypress will be shown :
Step 5: Choose a testing type, and then choose a browser (chrome is preferable)
Step 6: A new tab will open in the Chrome browser
Reference for Installation:
https://docs.cypress.io/guides/getting-started/installing-cypress#System-requirements
Was this page helpful?