消息 : Autofac.Core.DependencyResolutionException : An exception was thrown while invoking the constructor 'Void .ctor()' on type 'ChromeDriver'. ---> unknown error: unrecognized Blink revision: 2ac50e7249fbd55e6f517a28131605c9fb9fe897
(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: 2ac50e7249fbd55e6f517a28131605c9fb9fe897
(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.
标准输出:warning: The previous ScenarioContext was already disposed.
我找不到问题所在,在其他地方也找不到任何解决方案。
答案 0 :(得分:0)
您安装了哪个版本的Chrome?
Chrome驱动程序v2.10较旧。
您尝试使用最新版本吗?
例如http://chromedriver.storage.googleapis.com/index.html?path=2.45/