Launch Chrome with cross-origin disabled


I am trying to launch chrome from WebPageTest in cross-origin disabled mode. For this, I am providing a command line argument “–disable-web-security” under the chrome tab (Command-line custom options) but this does not seem to take effect.

With this option as well, the chrome gets launched in cross-origin enabled mode. The Test Agent that this chrome is getting launched on does not have an issue as I am manually able to launch chrome in cross-origin disabled mode using the same command line.

Any pointers to what could be wrong would be very helpful.

Thanks and Regards,