Sleeping is not your best friend in automation
summary
Asserts that fixed sleeps cause flakiness and slow tests and advocates replacing them with Selenium WebDriver waits: standard expected conditions, fluent waits, and custom conditions (examples: wait until element is clickable, waiting for text or attribute changes, checking invisibility of a modal). Shares concrete fixes: removed a 1s sleep by waiting for an expanded class on SVG bars, built Appium tests for apps, handled xterm.js terminal output via screenshot+OCR with 99% OCR success.
AI-written summary · about
chapters (7)
- 0:00Start
- 4:11Pineapple
- 5:09What does the Selenium community Say?
- 7:16Unreliable
- 20:08Open a card [program] Card slides down
- 27:41The Terminal Sleep-Fest
- 29:50Inspect = Simple Solution








