Why do I need Selenium waits?

What’s the purpose of Selenium waits?

Hello Dipen,

Majority of modern application’s front-end is built on JavaScript or Ajax, using frameworks such as React, Angular, or any other which takes a certain time for the web elements to load on the page, whenever that page is loaded or refreshed. Hence, in case you tend to locate an element in your script which is yet to load on the page, selenium will throw you ElementNotVisibleException message.