title: Selenium C#: Actions class works during debug mode but does not work during regular test run
body: <p>I am using Actions class to move to an element and then to click on it.
  The following code works when I execute it on debug mode, but the same fails during normal test execution. In my case, State is a dropdown and I am trying to select a state from a dropdown.</p>
  <p>There was a similar question and I used all options mentioned over there, but still couldn't get pass it.</p>
  <p>Code trials:</p>
  <pre><code>Driver.WaitForPageLoad();
  Driver.WaitForAjax();
  BrowserActions action = new BrowserActions(Driver);            
  action.MoveToElement(Driver.FindElement(State().Query)).Build().Perform();
  Driver.WaitUntil(ExpectedConditions.ElementToBeClickable(State().Query), 120);
  action.Click().Perform();
  Driver.WaitForAjax();
  Driver.WaitForPageLoad();
  </code></pre>
  <p>Can someone clarify?</p>