open chrome in disable security mode mac code example
Example: macos chrome disable web security
$ open -a Safari
or
$ open -a "Google Chrome" --args --disable-web-security
$ open -a Safari
or
$ open -a "Google Chrome" --args --disable-web-security