'How to tell the animation in Chrome browser is not in motion?
Clicking an element always ended up failure. Just found the reason is that the element is not ready to click because it comes with some shaking animation even if Explicit wait method ExpectedConditions.elementToBeClickable(ele) is implemented.
In debugging mode, I can click. Of course. But in run mode, no difference.
ElementClickInterceptedException This is the exception.
Any idea to tell that animation finished and actually ready to be clicked?
Solution 1:[1]
If Tal Angel's answer doesn't work for you, try using the Actions class to move to the element's position and force a click event.
Actions actions = new Actions(driver);
actions.moveToElement(ele).click().build().perform();
You will need to import org.openqa.selenium.interactions.Actions; to do this.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |

