Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 701
Gopi Avatar asked Jan 08 '13 12:01

Gopi


1 Answers

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?

like image 119
Sudarshan Avatar answered Sep 28 '22 12:09

Sudarshan