I just started a new project in Selenium using Webdriver 3.7, and I searched for the Webdriverwait class in the OpenQA.Selenium.Support.UI namespace, where I remember it, but I cannot find it anywhere.
I installed Selenium on my VS 2017 using the NuGet manager and installed the packages Selenium.Webdriver and Selenium.Support.
I also added the OpenQA.Selenium.Support.UI namespace to the code using the using keyword.
I am sure that this should be something obvious that I am missing, but it drives me crazy.
Does anyone have any ideas?
EDIT: trying to figure this out a bit, I found that I only have access to some of the classes available in the OpenQA.Selenium.Support.UI namespace. There are three classes and two interfaces in this namespace that I cannot access, these are: DefaultWait, SystemClock, WebDriverWait, IClock and IWait.
Thus, this may not be a problem since there is no reference to the OpenQA.Selenium.Support.UI namespace, since the rest of the classes there I can access are just fine.
source share