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.

Matt Ball
  • 354,903
  • 100
  • 647
  • 710
Gopi
  • 101
  • 2
  • 5

2 Answers2

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?

Sudarshan
  • 18,140
  • 7
  • 53
  • 61
  • 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. – Gopi Jan 08 '13 at 13:45
  • Did anyone get anywhere with this? (how come I ask this question a lot when it comes to selenium stuff?) – Hippyjim Jun 25 '13 at 14:25
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.

knb
  • 9,138
  • 4
  • 58
  • 85