繁体   English   中英

C#Selenium Internet Explorer超时

[英]c# selenium internet explorer timeout

调用driver.WindowHandles时,我的硒测试迟到超时问题。

我想在IE驱动程序中将超时默认值增加为60秒。

错误信息;

ex = {"The HTTP request to the remote WebDriver server for URL http://localhost:43196/session/3385234a-4378-419a-9e3a-c59e6b0f7913/window timed out after 60 seconds."}

增加请求的时间跨度非常简单

InternetExplorerDriver driver = new InternetExplorerDriver(@"c:\path", options, TimeSpan.FromMinutes(2));

暂无
暂无

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

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