title: Exception thrown: 'OpenQA.Selenium.WebDriverException' in WebDriver.dll
body: <p>I am new to Selenium using C#. Whenever I try to run simple code i get :</p>
  
  <pre><code>Exception thrown: 'OpenQA.Selenium.WebDriverException' in WebDriver.dll
  </code></pre>
  
  <p>everytime.</p>
  
  <p>Note: I am using Win 10, Visual studio enterprise edition 2015 , Selenium 3x and Chrome latest version.
  Below is the Code. Thanks in Advance</p>
  
  <pre><code>using OpenQA.Selenium;
  using OpenQA.Selenium.Chrome;
  using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  
  namespace Selenium1
  {
      class Program
      {
           static void Main(string[] args)
          {
              //Create the reference
              IWebDriver driver = new ChromeDriver();
              driver.Navigate().GoToUrl("http://www.google.com");
              IWebElement ele = driver.FindElement(By.Id("gs_htif0"));
              ele.SendKeys("Execute Automation");
          }
      }
  }
  </code></pre>
  
  <p>Getting Following Exception:</p>
  
  <p><a href="https://i.stack.imgur.com/kGBOe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kGBOe.png" alt="Refer attached image"></a>
  <a href="https://i.stack.imgur.com/R2ViC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/R2ViC.png" alt="Reference Screenshot"></a></p>
  
  <p>Getting following Exception Everytime, No luck.. I have tried everything.
  <a href="https://i.stack.imgur.com/ugiiF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ugiiF.png" alt="enter image description here"></a></p>
  
  <p>Nuget Packages:
  <a href="https://i.stack.imgur.com/nCCiS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nCCiS.png" alt="enter image description here"></a></p>
  
  <p>Screenshot
  <a href="https://i.stack.imgur.com/GhJC4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GhJC4.png" alt="enter image description here"></a></p>