title: Checking if the curtain is open to click the checkbox
body: <p>I use <code> wait.Until(ExpectedConditions.ElementToBeClickable(checkBox));</code> but i get this error</p>
  <pre><code>OpenQA.Selenium.JavaScriptException : javascript error: this.each is not a function
  
  WebDriver.UnpackAndThrowOnError(Response errorResponse)
  WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
  WebDriver.InternalExecute(String driverCommandToExecute, Dictionary`2 parameters)
  WebElement.Execute(String commandToExecute, Dictionary`2 parameters)
  WebElement.get_Displayed()
  &lt;&gt;c__DisplayClass20_0.&lt;ElementToBeClickable&gt;b__0(IWebDriver driver)
  DefaultWait`1.Until[TResult](Func`2 condition, CancellationToken token)
  DefaultWait`1.Until[TResult](Func`2 condition)
  </code></pre>
  <p>When I debug the code, everything works, so it feels like the checkbox becomes clickable before the curtain opens</p>
  <p>Has anyone come across a similar error and know the solution?</p>