~/talk

Automating Canvas Applications

Talkat Selenium Conference 2011 · 2011-04-04..04-06· [web-performance, testing]
name:Dave Hunt
links:none on file
slides:none on file

Automates a HTML5 canvas game (Helicopter) with Selenium WebDriver in Java by adding explicit automation hooks and a single gameData object to avoid latency, visualizing decisions with a HUD crosshair and field‑of‑vision overlay, and iterating PID‑style heuristics to handle momentum and obstacles. Two fast smoke tests assert crashes into ceiling or floor (altitude 90), long runs produce a best automated score >900m, code and hooks live at Selenicopter on GitHub.

AI-written summary · about

  1. 0:00Intro
  2. 0:49What is Canvas?
  3. 1:47The Wilderness Downtown
  4. 2:1020 Things I Learned
  5. 2:27Pirates Love Daisies
  6. 5:16Inside Information
  7. 6:45Flight School
  8. 10:30Visual Feedback
  9. 14:18Crash Testing
  10. 15:46How can we do this?
~/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.