Skip to content

umaar/learn-browser-testing

Repository files navigation

Learn Browser Testing

End to end testing and browser automation.

Quick start

Please use Node v14.4.0 or above.

npm install

Then, cd into any directory and run:

npm start

Node modules

The dependencies (node_modules) for this project can come to many hundreds of megabytes. Rather than you having to run npm install each time you cd into a new folder (and download gigabytes of node_modules scattered across the various folders in this repo), you just need to do it once at the root level.

Windows users

If npm start works for you (try one of the cypress, or just examples), then continue with that - you don't need to change anything. Otherwise, run this to fix the error:

npm install -g yarn

Now, instead of running npm start, run:

yarn start