我想在Chrome浏览器中运行我的specflow测试。每次运行时,出现以下错误:无法使用Specflow在Chrome中运行测试
Autofac.Core.DependencyResolutionException : An exception was thrown while invoking the constructor 'Void .ctor()' on type 'ChromeDriver'. ---> unknown error: unrecognized Blink revision: 3b3c00f2d95c45cca18ab944acced413fb759311 (Driver info: chromedriver=2.10.267521,platform=Windows NT 6.3 x86_64) (See inner exception for details.) ----> System.InvalidOperationException : unknown error: unrecognized Blink revision: 3b3c00f2d95c45cca18ab944acced413fb759311 (Driver info: chromedriver=2.10.267521,platform=Windows NT 6.3 x86_64) TearDown : System.NullReferenceException : Object reference not set to an instance of an object.
但是,当我为IE运行相同的脚本时,它运行良好。只有使用Chrome驱动程序,它才会发生错误。此外,每个依赖项(所有* .dlls),chromedriver.exe都是解决方案的一部分。我正在VS 2013运行我的测试。
有没有人有这个想法可能是这个问题的症结所在?
Thanks @bjones。有效 –