【问题标题】:Codeception webdriver in windowswindows中的codeception webdriver
【发布时间】:2016-10-28 14:56:11
【问题描述】:

我是 codeception 的新手。我尝试按照 http://codeception.com/11-20-2013/webdriver-tests-with-codeception.html 的教程进行操作。我使用我的作曲家安装 codeception。

"require-dev": {
    "codeception/codeception": "*"
}

我有代码接收。现在我需要 Selenium 服务器,我试试

java -jar selenium-server-standalone-2.50.1.jar

这给了我无法访问 jarFile 的错误。所以我使用 npm 来安装 Selenium 服务器,并且里面有 selenium-server-standalone-jar/jar/selenium-server-standalone-jar-2.50.1.jar。并将我的路径更改为 myproject/node_modules/selenium-server-standalone-jar/jar 并尝试运行

java -jar selenium-server-standalone-2.50.1.jar

我在屏幕上看到了一些东西

谁能告诉我我做错了什么。我的操作系统是 Windows 7。

谢谢。

【问题讨论】:

  • 图片显示“selenium server is up and running”,你到底有什么问题?
  • 问题是之后我什么也做不了。它停止了,我什至不能写。我不知道之后该怎么办。

标签: php selenium webdriver codeception


【解决方案1】:

java -jar selenium-server-standalone-2.50.1.jar -role hub 帮帮我

谢谢。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-01-08
    • 2018-10-19
    • 1970-01-01
    • 2014-08-13
    • 1970-01-01
    • 2022-10-23
    相关资源
    最近更新 更多