Skip to content

Puppeteer is mostly used and considered for scraping content, UI testing and automated form submissions. This repo aims to change this mindset by inspiring you on observing your daily routines and common patterns on your development and testing workflows. It will help you automate them in a creative way!

License

Notifications You must be signed in to change notification settings

onderceylan/puppeteer-demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puppeteer Demos

This repo contains various demos of the concepts, ideas and experiments over puppeteer that were demonstrated as part of the talks of mine. You can also find references of the links which are shown during the talk.

🎥 Video of the talk : https://www.youtube.com/watch?v=d2WSO3w5E94

Puppeteer can automate that! @HolyJS: https://www.slideshare.net/nderCeylan/puppeteer-can-automate-that-holyjs-piter-2020

Puppeteer can automate that! @AmsterdamJS: https://www.slideshare.net/nderCeylan/puppeteer-can-automate-that-amsterdamjs

Puppeteer can automate that! @Frontmania: https://www.slideshare.net/nderCeylan/puppeteer-can-automate-that

Introducing perf budgets on CI with puppeteer @perf.now(): https://www.slideshare.net/nderCeylan/introducing-perf-budgets-on-ci-with-puppeteer

If you attended my talk, would you help me make my next one better? Please share your feedback with this form https://onderceylan.typeform.com/to/Z4SbFn. It'll only take a minute, promise :)

The scripts in this repo are built for training and demonstration purposes, feel free to use them at your own risk.

How to run scripts?

Install dependencies

npm i

Execute scripts with

node fps.js
cd whatsapp && node whatsapp.js

Run tests with

npx jest dom-snapshot.spec.js
cd budget && npx jest assert-metrics.spec.js

References in talk

Script references for some of the concepts

About

Puppeteer is mostly used and considered for scraping content, UI testing and automated form submissions. This repo aims to change this mindset by inspiring you on observing your daily routines and common patterns on your development and testing workflows. It will help you automate them in a creative way!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published