title: Selenium can't find chromedriver.exe
body: <p>We're upgrading to .NET Core, and we have a crawling engine that uses Selenium for some tasks. We use <code>chromedriver.exe</code> and it works just fine in .NET 4.6.1. </p>
  
  <p>For .NET Core, we created a console application, and added these packages:</p>
  
  <pre><code>  &lt;ItemGroup&gt;
      &lt;PackageReference Include="Selenium.WebDriver" Version="3.8.0" /&gt;
      &lt;PackageReference Include="Selenium.Support" Version="3.7.0" /&gt;
      &lt;PackageReference Include="Selenium.WebDriver.ChromeDriver" Version="2.34.0" /&gt;
    &lt;/ItemGroup&gt;
  </code></pre>
  
  <p>But when I run my code, I get this error:</p>
  
  <blockquote>
    <p>The chromedriver.exe file does not exist in the current directory or
    in a directory on the PATH environment variable. The driver can be
    downloaded at <a href="http://chromedriver.storage.googleapis.com/index.html" rel="noreferrer">http://chromedriver.storage.googleapis.com/index.html</a>.</p>
  </blockquote>
  
  <p>I can see that after build, <code>chromedriver.exe</code> is getting copied to <code>bin\Debug\netcoreapp2.0</code> folder. I also copied it manually to <code>bin\Debug</code> folder. But in both cases it can't be found. </p>
  
  <p>What do I miss here?</p>