I am automating the android mobile application with Selenium using explicit wait with expected conditions to click buttons. There is a loading overlay that is displayed after form submission. The loading overlay is also called when a post & get request is happening in the background. I am trying to click an element, but the loading overlay disrupts the button click as nothing can be clicked when there is an overlay. Is there a way to check if the post&get request has been completed in selenium? I can't use expectedConditions.invisibilityOfElement as the loading overlay display time is somewhat inconsistent