0

Selenium's webdriver gives me that error when trying to use the Chrome or IE driver. I have got Selenium via Nuget, so it should be giving me the correct libraries. However, it seems to want a reference to Newtonsoft.Json 4.0.2.0 rather than 4.0.3 which is the one currently inside the NuGet package.

How do I get round this issue?

UPDATE

I got this working, in part trying to fix another problem. See my other post: Selenium WebDriver - FirefoxDriver error: Failed to start up socket within 45000

Community
  • 1
  • 1
jaffa
  • 26,770
  • 50
  • 178
  • 289

2 Answers2

1

It's the Nuget package. Selenium is relatively new to Nuget, and the team has been having problems building a package that can be used easily. The primary .NET developer has said that the 2.8.x Nuget package will be better. That's due out sometime this week.

Ross Patterson
  • 9,527
  • 33
  • 48
0

you need to use x86 not ANY CPU, then will work. Your project is set to ANY CPU. Change it to x86.

senzacionale
  • 20,448
  • 67
  • 204
  • 316