~/talk

Modern Web Testing and Automation with Puppeteer

Talkat Google I/O 2019 · 2019-05-07..05-09· [testing, nodejs]
slides:none on file

Puppeteer is a Node library that automates headless and full Chrome; it downloads a browser on npm install and drives pages, DOM, network and input. It adds Puppeteer Firefox experimental for cross‑browser testing, a BrowserContext API that isolates tests without relaunching the browser (about 100x faster), reactive waitForX APIs to cut flakiness, request interception to mock or abort endpoints, device and geolocation emulation, service‑worker inspection, tracing, coverage, accessibility snapshots, and a growing ecosystem (20% community contributions, 1,000+ packages).

AI-written summary · about

  1. 0:00Introduction to Puppeteer
  2. 0:46Understanding Puppeteer
  3. 2:07Getting started with code
  4. 4:02Cross-browser testing
  5. 5:58Testing performance and speed
  6. 8:26Reliability in testing
  7. 10:40Mobile emulation features
  8. 13:23Offline and service workers
  9. 15:36Geolocation and advanced tasks
  10. 18:01Network interception
  11. 21:08User input and keyboard
  12. 22:57Performance and accessibility
  13. 25:15Community and conclusion
~/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.