【发布时间】:2014-10-25 08:35:30
【问题描述】:
我正在使用 selenium-server-standalone-2.44.0.jar 来测试我的 Yii 应用程序。我在没有任何参数的控制台中运行它: java -jar selenium-server-standalone-2.44.0.jar 我有下一个问题:
Hangs Firefox.In 我运行 Selenium 的控制台窗口有文本: 正在启动火狐... 在我运行任何测试的控制台窗口中。
无法在 Google Chrome 中截屏。 例外:错误:仅对 Firefox(“firefox”或“chrome”,而不是“firefoxproxy”)和 IE 非 HTA(“iexploreproxy”,而不是“iexplore”或“iehta”)实施 captureEntirePageScreenshot。当前的浏览器不是其中之一!
我的操作系统 - Windows 8。感谢您的帮助。
【问题讨论】:
-
你能显示使用的配置吗?
-
<phpunit bootstrap="bootstrap.php" colors="false" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" stopOnFailure="false"> <selenium> <browser name="Firefox" browser="*firefox" /> </selenium> </phpunit> -
<browser name="Chrome" browser="*googlechrome" />在 Google Chrome 中运行测试