I'm trying to setup Selenium WebDriver 2.5.1 on my project using NuGet.
I tried installing via Tools -> Manage NuGet Packages... in Visual Studio and got an error.
I tried invoking the command inside the NuGet console as shown in the link above:
Install-Package Selenium.WebDriver
and I get the same error, which is:
Attempting to resolve dependency 'Newtonsoft.Json (≥ 4.0.2)'.
Install-Package : Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
At line:1 char:16
+ Install-Package <<<< Selenium.WebDriver
+ CategoryInfo : NotSpecified: (:) [Install-Package], IOException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
Is it an error of the Selenium NuGet package itself? Does anyone know how to overcome this (except not installing NuGet package and revert to manual setup of course)?
Thanks.