The Pied Piper of Selenium
summary
Selenium click behaves cautiously: it scrolls the element into view, checks it’s enabled and not obscured, and clicks the centre point; Selenium click checks centre point. Low-level Actions require calling actions.perform() or they never fire. HTML5 drag-and-drop often fails with Actions so teams use a JavaScript drag helper or the Selenium IDE one-line drag command that worked in the demo. Executing JS scrollIntoView and JS click fixes stubborn hovers and scrolling; pair JS with explicit waits, viewport checks and assertions on element attributes to avoid flakiness.
AI-written summary · about
chapters (10)
- 0:00Start
- 2:19The Pied Piper of Hamelin Rodent Removal Service
- 3:23Overview
- 8:06Mouse Events 101
- 13:49Warning about dispatching JS
- 20:17Getting help to "play" the right code
- 21:50Preparing Actions
- 26:25Timeline of Pointer Controls
- 27:17Touch Gestures
- 33:00Can browsers affect actions? 3 ways to handle the differences!








