小编Nat*_*han的帖子

Selenium Error - 对远程WebDriver的HTTP请求在60秒后超时

我已经使用Selenium好几个月,我们用它来自动化我们的一些内部测试过程.脚本一直很好.我最近使用FF 27.01升级到C#2.40.0 webdriver,我们的脚本现在在随机位置失败,出现以下错误.

[Portal.SmokeTest.SmokeRunTest.Booking] TearDown method failed. OpenQA.Selenium.WebDriverException : The HTTP request to the remote WebDriver server for URL htt(p)://localhost:7055/hub/session/56e99e88-ba17-4d12-bef1-c6a6367ccc2f/element timed out after 60 seconds.
  ----> System.Net.WebException : The operation has timed out
TearDown : OpenQA.Selenium.WebDriverException : The HTTP request to the remote WebDriver server for URL htt(p)://localhost:7055/hub/session/56e99e88-ba17-4d12-bef1-c6a6367ccc2f/window timed out after 60 seconds.
  ----> System.Net.WebException : The operation has timed out
[09:01:20]
[Portal.SmokeTest.SmokeRunTest.Booking] TearDown method failed. OpenQA.Selenium.WebDriverException : The HTTP request to the remote WebDriver server for URL htt(p)://localhost:7055/hub/session/56e99e88-ba17-4d12-bef1-c6a6367ccc2f/element timed …
Run Code Online (Sandbox Code Playgroud)

c# teamcity selenium nunit selenium-webdriver

72
推荐指数
8
解决办法
8万
查看次数

标签 统计

c# ×1

nunit ×1

selenium ×1

selenium-webdriver ×1

teamcity ×1