You must have skipped a few steps. Try to follow this
- Go to Explorer, then paste it into the address bar >> C: \ Program Files (x86) \ Google \ Chrome \ Application (or just go to where you can find your chrome.exe)
- Right click chrome.exe> ββsend to> desktop (create shortcut)
- Go to your desktop and find the Chrome shortcut you created.
- Rename it to ChromeForTesting (this step is optional)
- Right-click the shortcut, then click Properties
In the "Target" field, insert the following at the end of the link
--user-data-dir = / tmp / foo - unsafely-heal-unsafe-origin-as-protected = http://example.com
so the goal should look something like this
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir=/tmp/foo --unsafely-treat-insecure-origin-as-secure=http:
- Click OK
- During testing, close all open Google Chrome browsers. Then double-click the ChromeForTesting shortcut (the one you created) when the prompt appears, just click OK.
EDIT: If the steps above do not work for you, maybe you are using Chrome V63, upgrade it to V64 above because this flag is corrupted in V63.
PS If this still does not work, complete these additional steps.
- On your C drive, create a folder and name it "ChromeTempFiles".
- Then in your
--user-data-dir=
you change the value to "C: \ ChromeTempFiles" Add them to your goal.
--allow-running-insecure-content --reduce-security-for-for testing
so your goal should look like this now
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir=C:\ChromeTempFiles --unsafely-treat-insecure-origin-as-secure=http://example.com --allow-running-insecure-content --reduce-security-for-testing
source share