title: Dropdown not getting selected using Selenium Webdriver on Safari browser
body: <p>On Safari browser I need to select an Option from the dropdown but the funny thing is that it works for all the browsers except for Safari on Mac OS.
  I am using Safari 10.0.3 with selenium webdriver version 3.3.0</p>
  
  <p>I have written the code in C#. Refer the code below - </p>
  
  <pre><code>    IWebDriver driver;
      driver = new SafariDriver();
      List&lt;string&gt; handles = driver.WindowHandles.ToList&lt;string&gt;();
      driver.SwitchTo().Window(handles.First());
      driver.Navigate().GoToUrl("https://myip/MyPage.aspx");
      SelectElement element = new SelectElement(driver.FindElement(By.Id("securityQuestion")));
      int totalOptions = element.Options.Count;
      Random rnd = new Random();
      int rndValue = rnd.Next(1, totalOptions);
      element.SelectByIndex(rndValue); // This is not working for Safari browser      
      driver.FindElement(By.Id("securityAnswer")).SendKeys("test");
      driver.FindElement(By.Id("ctl00_Content_btnNext")).Click();
      driver.Close();
  </code></pre>
  
  <p>No error is thrown just that it doesnt select any value from the dropdown.</p>