Alternative to ImplicitlyWait | Selenium Forum
V
varunksv Posted on 09/08/2023

I Observed that implicitlywait -

driver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS); is depreciated.

 

Please let us know which one we can use as alternate to this


K
Karthik Replied on 18/08/2023

try with below

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