【发布时间】:2013-04-13 00:47:51
【问题描述】:
我通过 selenium RC 运行测试,它工作正常。我使用这个命令行:
java -jar selenium-server-standalone-2.32.0.jar -firefoxProfileTemplate "SeleniumProfile" -htmlsuite "*firefox" "https://www.google.com" "testSuite1.html" "result.html"
我尝试通过将“*firefox”替换为“*googlechrome”来在 chrome 上运行相同的命令,但它失败了:
Chrome 已打开,但显示以下消息:“您正在使用不受支持的命令行标志:--disable-web-security。稳定性和安全性将受到影响”
我通过在命令行中删除 -firefoxProfileTemplate "SeleniumProfile" 得到了相同的结果。
您知道我必须修改什么才能使其正常工作吗? 预先感谢, 托马斯。
【问题讨论】:
标签: google-chrome selenium selenium-rc