I know how to Start chrome in insecure mode via command line with these options: --disable-web-security --disable-gpu. How can I do it in MAC OS? So i am going inside the location where chrome is installed and running this command
chrome.exe --user-data-dir="C:/Chrome dev session" --disable-web-security
But it is throwing error zsh: command not found: chrome.exe
If you are on a Mac, this is the correct command (Mac does not open .exe files):
open -a "Google Chrome" --args --disable-web-security --user-data-dir=/tmp/chrome
You need to specify both arguments for the command to work. The first one to disable web security and the second one to specify a folder where Chrome will create the temporary profile and keep the necessary data.
Run this command to open a new Chrome window with a url already specified:
open -n -a Google\ Chrome --args --user-data-dir=/tmp/temp_chrome_user_data_dir http://localhost:3000/ --disable-web-security
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With