I use the C # project settings implicity:
driver.Manage().Timeouts().ImplicitlyWait(TimeSpan.FromSeconds(20));
Everything worked. When I installed the new version of selenium-dotnet-3.1.0 my voice this error:
Warning CS0618 'ITimeouts.ImplicitlyWait(TimeSpan)' is obsolete: 'This
method will be removed in a future version. Please set the
ImplicitWait property instead.'
How to set the global ImplicitlyWait time?
Best Answer
I had the same problem. You can use the following code: