当我尝试从 Nuget 包管理器安装引用时,我想在我的代码中使用 WebDriverManager,但出现错误。
我尝试过更新和降级 .Net 框架。
我们可以将 WebDriverManager 2.7.0 与 .Net 框架 4.5 一起使用吗?
看到的错误消息是:
Could not install package 'WebDriverManager 2.7.0'. You are trying to install this package into a project that targets '.NETFramework, Version=v4.5', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.