How to add an implicit wait with Java-Cucumber?

How to add an implicit wait with Java-Cucumber?

Hi Noah Smith,

You can add this sample syntax in your code to add an implicit wait with Java-Cucumber:

driver.manage().timeouts().implicitlyWait(Duration.ofSeconds(10));