Skip to content

Instantly share code, notes, and snippets.

@revolunet
Last active October 2, 2018 20:40
Show Gist options
  • Save revolunet/7595280cd1df836ba31c to your computer and use it in GitHub Desktop.
Save revolunet/7595280cd1df836ba31c to your computer and use it in GitHub Desktop.
Launch a new chrome instance with disable-web-security
#!/bin/sh
# on OSX : /Applications/Google\ Chrome\ 2.app/Contents/MacOS/Google\ Chrome
/path/to/Chrome --user-data-dir=/tmp/test1 --no-default-browser-check --no-first-run --disable-default-apps --disable-popup-blocking --disable-translate --disable-web-security
@revolunet
Copy link
Author

shameless adaptation of karma chrome launcher : https://github.com/karma-runner/karma-chrome-launcher/blob/master/index.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment