google-chrome - 得到 "you are using unsupported command-line flag: --disable-web-security. Stability and security will suffer"错误

标签 google-chrome selenium selenium-rc flags

使用 Selenium RC for Google Chrome 时出现以下错误

您正在使用不受支持的命令行标志:--disable-web-security。稳定性和安全性将受到影响。
我不知道 chrome 有什么问题。

最佳答案

标志引用代码 --disable-web-security

// Don't enforce the same-origin policy. (Used by people testing their sites.)

const char kDisableWebSecurity[] = "disable-web-security";



它不允许跨脚本代码,你在 selenium RC 上做什么?

关于google-chrome - 得到 "you are using unsupported command-line flag: --disable-web-security. Stability and security will suffer"错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14215382/

相关文章:

javascript - Chrome : display: inline weirdness. ..

javascript - 在 chrome 扩展中将远程 URL 显示为弹出窗口

java - Selenium 中的下拉 CSS 选择器

google-chrome - 从另一台机器进行 Chrome 远程调试

javascript - vs2010 : trying to debug javascript using Chrome: this is not a valid location for a breakpoint

eclipse - 如何使用 eclipse 在 testng 中设置 sysproperty?

python - Selenium - 如何知道下一页是否不存在?

firefox - Selenium in -browserSessionReuse 模式启动一个新的浏览器

java - 如何通过 Java 使用 Selenium RC 执行基本 URL 后打开另一个 URL

selenium-rc - Selenium 键