Got "you are using unsupported command-line flag: --disable-web-security. Stability and security will suffer" error
Asked Answered
T

2

8

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

you are using unsupported command-line flag: --disable-web-security. Stability and security will suffer. I don't know whats the issue with chrome.

Tadtada answered 8/1, 2013 at 12:52 Comment(0)
P
5

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?

Panto answered 8/1, 2013 at 12:57 Comment(2)
I need to launch chrome browser to do web testing. I'm doing it with selenium RC. I can able to do testing in Firefox but its not working in chrome. I don't know much technical details on this. So can you elaborate your answer.Tadtada
Did anyone get anywhere with this? (how come I ask this question a lot when it comes to selenium stuff?)Karankaras
M
0

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.

Mazer answered 9/1, 2014 at 10:4 Comment(1)
Way to be enterprise friendly.Paoting

© 2022 - 2024 — McMap. All rights reserved.