我遵循了“ Selenium components for Coded UI Cross Browser Testing ”的步骤。
但我下载了最新版本:
WebDriver.ChromeDriver.win32 2.4.0 http://www.nuget.org/packages/WebDriver.ChromeDriver.win32/
selenium-dotnet-strongnamed-2.37.0 https://code.google.com/p/selenium/downloads/list
然后我将它们安装在我的 64 位机器上,但是当我尝试运行自动化测试时,Visual Studio 2013 出现了下一个问题:
System.IO.FileNotFoundException: Could not load file or assembly
'WebDriver, Version=2.35.0.0, Culture=neutral, PublicKeyToken=1c2bd1631853048f' or one of its dependencies. The system cannot find the file specified.WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].