What is fluent wait in the context of Selenium and how to use it?

What is fluent wait in the context of Selenium and how to use it?

Hi Joe,

Fluent Wait is used to inform the WebDriver how long to wait for a condition and how often we want to check it before throwing an “ElementNotVisibleException” exception.

Its Syntax is as follows:

Wait wait = new FluentWait(WebDriver reference).withTimeout(timeout, SECONDS).pollingEvery(timeout, SECONDS).ignoring(Exception.class);