GithubHelp home page GithubHelp logo

umaar / learn-browser-testing Goto Github PK

View Code? Open in Web Editor NEW
115.0 6.0 8.0 9.75 MB

Repository for my upcoming course & workshop

Home Page: https://learnbrowsertesting.com/

JavaScript 45.78% Gherkin 0.49% HTML 53.64% CSS 0.09%
browser-automation puppeteer end-to-end-testing testing

learn-browser-testing's Introduction

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

learn-browser-testing's People

Contributors

mxschmitt avatar schwemmer avatar umaar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

learn-browser-testing's Issues

Puppeteer didn't work for me on Windows

I have node 14.8-0 installed via nvm on Windows10 with WSL1.
I installed yarn after calling npm start didn't work. The outcome wasn't better.
Be it npm or yarn, the call results mainly with the same errors:

yarn-error

reject(new Error([
                   ^

Error: Failed to launch the browser process!

npx may not be the solution in Win10

I have node 14.8-0 installed via nvm on Windows10 with WSL1.
Strangely npx didn't work. AND: it downloaded puppeteer once more from the internet, not the node_modules.

npx-doesnt-work

Did I do something wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.