繁体   English   中英

C#硒对URL的远程Web驱动程序服务器的HTTP请求在60秒后超时

[英]C# selenium HTTP request to the remote web driver server for URL timed out after 60 seconds

Chrome驱动程序停止了使用最新的Chrome驱动程序2.24和Web驱动程序2.48的Chrome浏览器版本55的工作。

我收到错误消息“ 60秒后,HTTP请求到远程Web驱动程序服务器的URL超时”

几个月前,我遇到了同样的问题,我遵循了这里提到的相同建议,直到chrome版本54才有效。

您能建议使用Chrome 55版吗

注意:它在本地工作正常,在IIS中托管时不工作

在您下载的独立软件包中使用Chrome,而不是在系统中进行安装。您可以通过以下方式进行操作:

ChromeOptions options = new ChromeOptions();
options.BinaryLocation = @"path\\to\\the\\standalone\\chrome.exe"; 
  // chrome installation exe

为: 更多

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM