~/talk

Rethinking Browser Automation: Unleashing the Power of Puppeteer and Playwright

Talkat JSWorld Conference 2024 · 2024-02-28..03-01· [web-platform, testing]
slides:none on file

Demonstrates concrete techniques: use Puppeteer core plus Chrome launcher to avoid the 170–280 MB browser download, connect over Chrome DevTools Protocol to call performance.getMetrics and HeapProfiler, and cut a 76-line custom protocol script down to about 5 lines. Shows image/PDF screenshots, visual regression, accessibility via injected axe script, CPU/network throttling, and a memory-leak check with a 10% heap threshold. Runs headless Chromium from Google Cloud Functions and CI; all examples include code and measured outcomes.

AI-written summary · about

  1. 0:00Browser automation intro
  2. 1:00Automate with Puppeteer & Playwright
  3. 3:06Headless Chrome capabilities
  4. 5:34Puppeteer vs Playwright
  5. 7:18DevTools recorder for flows
  6. 8:21Dark mode visual testing
  7. 9:03Performance benchmarking
  8. 10:29Accessibility testing
  9. 11:34Code coverage with Puppeteer
  10. 13:02DevTools Protocol basics
  11. 16:13Advanced DevTools Protocol
  12. 18:40Lightweight Puppeteer
  13. 21:46Live Puppeteer demo
  14. 23:34Visual regression & budgets
  15. 24:40Memory leaks with CDP
  16. 26:05Cloud automation
  17. 27:09Key takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.