disable web security in chrome mac code example
Example 1: open chrome without web security mac
open -n -a /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --user-data-dir="/tmp/chrome_dev_test" --disable-web-security
Example 2: macos chrome disable web security
$ open -a Safari
or
$ open -a "Google Chrome" --args --disable-web-security