Selenium error ElementClickInterceptedException: element click intercepted
Selenium found the element and tried to click it, but another element is currently on top of it at that point on the page.
Why this happens
- A sticky header, modal, cookie banner, or loading overlay is visually covering the target
- The element hasn't finished animating into its final position
How to fix it
- Dismiss or wait out the covering element before clicking
- Scroll the element into view first: `((JavascriptExecutor) driver).executeScript("arguments[0].scrollIntoView(true);", element)`
- Wait for the element to be clickable, not just present: `ExpectedConditions.elementToBeClickable(by)`