This is a bit of a reimagining, but I think it will help. Selenium actually has a smart wait helper package called `DotNetSeleniumExtras.WaitHelpers`. With it, you can greatly simplify your code to just: ```cs private void WaitFor(IWebDriver driver, By by, TimeSpan wait) { var smartWait = new WebDriverWait(driver, wait); smartWait.Until(ExpectedConditions.ElementExists(by)); } ``` Usage: ```cs WaitFor(driver, By.XPath(".//*[@id='content']"), TimeSpan.FromSeconds(10)); ``` This way, you are able to keep all of the parameters as open as you need them to be. The driver is always necessary. The search criteria still let you use any available search patterns—e.g., by CSS class or by id—and the explicit timespan lets you understand the delay time at a glance.