Skip to main content
1 of 2
newbie
  • 1
  • 1
  • 2

How to deal with overlay animation using selenium webdriver?

The web application I'm trying to automate test cases for, uses an overlay animation every time page is refreshed or as user navigates from one page to another. I have tried applying fluent wait but that doesn't seem to work as element still appears clickable/visible to driver before the overlay is actually gone, so it ends throwing click intercepted exceptions. As far as overlay itself is considered, it is not detectable on page until it appears, so selenium throws an element not found error if the overlay element is used for fluent wait. I was wondering if anyone has ever handled such cases and knows any solution?

newbie
  • 1
  • 1
  • 2