Google chrome Codeception-如何在chrome中运行验收测试
你能帮我在chrome上运行验收测试吗 1) 我的acceptance.suite.yml文件结构为Google chrome Codeception-如何在chrome中运行验收测试,google-chrome,selenium,codeception,Google Chrome,Selenium,Codeception,你能帮我在chrome上运行验收测试吗 1) 我的acceptance.suite.yml文件结构为 class_name: AcceptanceTester modules: enabled: - WebDriver: url: http://localhost:81/project browser: 'chrome' window_size: 1024x768
class_name: AcceptanceTester
modules:
enabled:
- WebDriver:
url: http://localhost:81/project
browser: 'chrome'
window_size: 1024x768
wait: 10
- \Helper\Acceptance
2) 我将selenium-server-standalone-2.47.1.jar和chromedriver.exe保存在同一个文件夹中
我尝试使用命令java-jar selenium-server-standalone-2.47.1.jar-Dwebdriver.chrome.driver=C:\stuff\sel\codeceptiontest\chromedriver.exe
3) 我收到一个错误“错误:无法找到或加载主类=“
4) 这是运行我的文件的正确命令吗?php codecept.phar运行测试/acceptance/loginCept.php--env chrome
您可以分别运行chrome Web驱动程序和Selenium服务器。它们很好用
希望它对您有效。所以您的问题是无法启动selenium,对吗?是的。我不能启动selenium。我得到了上面指定的错误。我在yml中的设置正确吗?你能用Winzip打开jar吗。它可能是腐败的!