~/talk

DevTools and Headless Chrome - The Automation Power Couple

Talkat GDG DevFest Ukraine 2017 · 2017-10-13..10-14· [web-platform, testing]

Chrome runs headless (Chrome 59) and a small Node library controls it; use Puppeteer npm to launch Chrome, navigate, type credentials and scrape Meetup, take screenshots, or run tests inside Docker. The demo sends raw DevTools Protocol commands (CSS.startRuleUsageTracking / CSS.stopRuleUsageTracking) to compute unused CSS and flips from 54% -> 14% unused CSS after interacting with the UI. Output is a percentage that can trigger email/Slack alerts; it works. Headless Chrome (Chrome 59)

AI-written summary · about

  1. 0:00Introduction
  2. 2:26Web automation overview
  3. 5:50Introducing Headless Chrome
  4. 6:57Puppeteer demo
  5. 12:50DevTools architecture
  6. 14:43DevTools protocol commands
  7. 17:48Running Headless Chrome
  8. 20:01Lighthouse and auditing
  9. 22:16Advanced protocol automation
  10. 30:50Summary and resources
~/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.