使用 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/