Got “you are using unsupported command-line flag: --disable-web-security. Stability and security will suffer” error

依然范特西╮ 提交于 2019-12-04 07:57:14

Reference code for flag --disable-web-security

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

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

It disallows cross scripting code, what are you doing on selenium RC?

In feb 2013, someone (expert user/dev "PhistucK"; 1498 Posts as of 01/2014) said on the chrome-discuss gougle-group:

No, it [the notification] cannot be switched off. You can compile Chromium by yourself and remove the code that shows it.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!