【问题标题】:exception while invoking the constructor autofac dependency error调用构造函数时出现异常 autofac 依赖错误
【发布时间】:2018-12-12 09:20:25
【问题描述】:

留言: 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.

我找不到问题出在哪里,也没有在其他地方找到任何解决方案。

【问题讨论】:

    标签: visual-studio automated-tests selenium-chromedriver autofac blink


    【解决方案1】:

    您安装了哪个版本的 Chrome?

    Chrome 驱动 v2.10 比较旧。

    您是否尝试过使用最新版本?

    例如,http://chromedriver.storage.googleapis.com/index.html?path=2.45/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-05-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-04-15
      相关资源
      最近更新 更多