output
How to open Chrome/Chromium browsers without CORS Limitations
Description
Sometimes when testing APIs on the browser that you don’t control might not be properly configured to allow CORS, and, although its a problem that should be fixed on the backend, for quick tests it might be worth disabling the Browser Security to allow those APIs to work.
# Chrome
open -n "/Applications/Google Chrome.app" --args --user-data-dir="$HOME/chrome-dev-data" --disable-web-security
# Arc Browser (Chromium)
open -n "/Applications/Arc.app" --args --user-data-dir="$HOME/chrome-dev-data" --disable-web-security