We might get runtime errors like:
org.openqa.selenium.WebDriverException: Element is not clickable at point. Other element would receive the click.
We widely use two kinds of Wait in Selenium: Implicit Wait and Explicit Wait.
Implicit wait waits for a certain defined period of time. Example in below code snippet.
Sample Common Functions to be used for Implicit & Explicit Wait: