When my webpage is faced error on run-timeout error while navigating or clicking element,that time to solve my error i use Thread.sleep().But my Senior Architect says using Thread.sleep() method is wrong way try to use Smart Loading method.
Is there is any method to use loading the page instead of Thread.sleep() method?