~/talk

Design Decisions for the Perfect JS Testing Framework

TalkinRussianat Selenium Camp 2019 · 2019-02-22..02-23· [javascript, testing]
slides:none on file

Compares JavaScript end-to-end testing options and the design tradeoffs when building a testing framework: use WebDriver for cross‑browser standardization, Puppeteer/Playwright for Chrome DevTools and raw browser APIs, Cypress for fast in‑frame developer testing with iframe/domain limitations, and TestCafe for proxy‑based cross‑browser runs and simple startup. Also covers architectural choices like async model (promise chains vs async/await), separating low‑level browser control from high‑level tests, and the likelihood of painful rewrites when drivers break or major upgrades change APIs.

AI-written summary · about

  1. 0:00Introduction
  2. 3:06JavaScript for testing
  3. 5:37Test framework structure
  4. 7:28Browser drivers overview
  5. 9:58Protractor success
  6. 11:43Selenium reliability
  7. 13:09Playwright control
  8. 16:42DevTools Protocol
  9. 19:37TestCafe cross-browser
  10. 21:24Async test flow
  11. 23:11Driver pros/cons
  12. 25:38Cucumber myths vs reality
  13. 27:05Strategic test design
  14. 28:52Separate test logic
  15. 31:41Tool selection guide
  16. 33:06Q&A
~/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.