title: How to set ImplicitWait in Selenium 3.1.0
body: <p>After upgrading <code>Selenium WebDriver 3.1.0</code> I received warning on</p>
  
  <pre><code>driver.Manage().Timeouts().ImplicitlyWait(TimeSpan.FromSeconds(30));
  </code></pre>
  
  <blockquote>
    <p>Warning   11  'OpenQA.Selenium.ITimeouts.SetScriptTimeout(System.TimeSpan)' is obsolete: 'This method will be removed in a future version. Please set the AsynchronousJavaScript property instead.'</p>
  </blockquote>
  
  <p>So I changed it to</p>
  
  <pre><code>driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(30);
  </code></pre>
  
  <p>It worked fine with <code>ChromeDriver</code>, but when I tried <code>FireFoxDriver</code> the test failed on this line, throwing an exception</p>
  
  <blockquote>
    <p>Result Message:    System.InvalidOperationException : Missing 'type'
    parameter (IndexOutOfBounds) Result StackTrace:    at
    OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response
    errorResponse) at
    OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String
    driverCommandToExecute, Dictionary`2 parameters) at
    OpenQA.Selenium.Remote.RemoteWebDriver.InternalExecute(String
    driverCommandToExecute, Dictionary'2 parameters) at
    OpenQA.Selenium.Remote.RemoteTimeouts.ExecuteSetTimeout(String
    timeoutType, TimeSpan timeToWait) at
    OpenQA.Selenium.Remote.RemoteTimeouts.set_ImplicitWait(TimeSpan value)
    at
    OpenQA.Selenium.Support.Events.EventFiringWebDriver.EventFiringTimeouts.set_ImplicitWait(TimeSpan
    value)</p>
  </blockquote>
  
  <p>How to solve this?</p>