I have used implicit and explicit wait before clicking on button with condition like wait.Until(ExpectedConditions.elementToBeClickable(Webelement)), I am not getting element not interactable exception. driver clicks on button but fails to load the next page. Execution run properly in debug mode but not in actual run.
If I use thread.sleep method before click then working properly. As use of thread.slepp is not recommended any alternative is there for this?