Got "you are using an unsupported command line flag: --disable-web-security. Resilience and security will suffer"

I got this error below when using Selenium RC for Google Chrome

An unsupported command line flag is used: --disable-web-security. Stability and security will suffer. I do not know what the problem is with chrome.

+4
source share
2 answers

Link code for the flag --disable-web-security

// Do not apply policies of the same origin. (Used by people checking their sites.)

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

It prohibits the use of script code, what do you do on selenium RC?

+5
source

In February 2013, someone (expert user / dev "PhistucK", 1498 posts from 01/2014) told chrome-discuss gougle-group :

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

0
source

All Articles