Problem:
I have a
Selenium test that works perfectly with the Firefox and Internet Explorer
drivers but I get the following error when using the Chrome driver:
OpenQA.Selenium.NoSuchElementException: no such element
Solution:
Add the
following code after you instantiate your driver:
driver.Manage().Timeouts().ImplicitlyWait(TimeSpan.FromSeconds(30));
This line
will cause your Chrome driver to work as expected and does not affect the behavior
of the other drivers.