title: multiple drop down boxes not picking up new elements (Selenium, C#)
body: <p>I have to drop down boxes I am trying to select using Selenium the first one works fine however when i try to select the second it does not pick up the values and still uses the first set of elements. </p>
  
  <pre><code>  public static void AnfoldComboBox(string sComboBoxId, string sItemText)
      {
  
          Drivers.CurrentDriver.FindElement(By.CssSelector($"#{sComboBoxId} + .anfold-combobox .anfold-combobox-toggle.ui-corner-right")).Click();
          IWebElement dropDownWrapper = Drivers.CurrentDriver.FindElement(By.ClassName("anfold-combobox-autocomplete"));
          ReadOnlyCollection&lt;IWebElement&gt; items = dropDownWrapper.FindElements(By.CssSelector(".ui-menu-item &gt; div"));
  
          foreach (IWebElement item in items)
          {
              if (item.Text.Trim() == sItemText)
              {
                  item.Click();
                  break;
              }  
          }
  </code></pre>