Getting the exception | Selenium Webdriver Tutorial with c# |Selenium C# training

Selenium C# Training Forum

getting the exception

B
Bhavani Post on 12/11/2018

OpenQA.Selenium.WebDriverException: 'The HTTP request to the remote WebDriver server for URL http://localhost:2814/session timed out after 60 seconds.'

G

Instructor

gunjan Reply on 13/11/2018

The exception is probably due to wait issue.
Please use Implicit wait or Explicit wait before extracting the element and try again

B
Bhavani Reply on 13/11/2018

unbale to chnage to ExplicitWait

G

Instructor

gunjan Reply on 13/11/2018

The command for explicit wait is - 
WebDriverWait wait=new WebDriverWait(driver, TimeSpan.FromSeconds(10));
wait.until(ExpectedConditions.ElementIsVisible(By.XPath(“”));

For more clarifications, follow module-12