Finding an error while running my Automation Test, could you help here?

While running my Automation tests, I’m keep getting the below error. I’m using C# to write my code. The error:

error: The HTTP request to the remote WebDriver server for URL http://user_name:access_key@hub.lambdatest.com/wd/hub/session timed out after 60 seconds.

Hi Miro Vasil,

Tests are timing out exactly after 60 seconds as the default timeout for C# is 60 seconds. To fix this, You can add a timespan as given below:

driver = new RemoteWebDriver(new Uri(seleniumUri), capabilities, TimeSpan.FromSeconds(600));