Frequently we use to get Exceptions like NoSuchElement, ElementNotClickable etc.. while running the scripts. To overcome these kind of issues we need to use Explicit wait. No need to create any code for this, rather Selenium had given the ExpectedCondition class and multiple methods to handle the actions.
Please refer for code,
https://qacrunch.in/what-is-explicit-...