~/talk

Of plugins & decorators-spotlight on Trivago's e2e test framework

Talkat Selenium Conf 2022 · 2022-07-29..07-30· [testing]
slides:none on file

Trivago runs a pure Java, Selenium‑based e2e framework used across multiple web projects for five years that adds two concrete pieces: a custom WebElement decorator that uses a cgLib enhancer to lazily initialize elements, catch StaleElementReferenceExceptions and refine by parent-child locators recursively to recover, and a plugin system built on the Java Service Provider Interface so small plugins can react to WebDriver events, take screenshots, or toggle behavior with minimal waits like 50 milliseconds for direct checks, and it proves reliably faster and more maintainable.

AI-written summary · about

  1. 0:00Introduction
  2. 1:43Trivago and the challenge
  3. 3:14Framework selection
  4. 6:18Element resilience
  5. 8:30Page objects vs components
  6. 12:28Custom implementation
  7. 16:11Method interception logic
  8. 25:33Extensibility challenges
  9. 28:35Plugin API design
  10. 33:46Implementing plugins
  11. 38:04Lessons and reflections
  12. 41:51Q&A session
~/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.