How to disable Firefox Security using Protractor
Hello All,
I am using dev environment of our application. When I am trying to open it, the firefox browser is showing an Unexpected error.

Then I manually changed or disabled the security by following the below instruction.
SEE BELOW To allow insecure content to be displayed in all secure pages, enter about:config in the address bar and double-click on this preference, to toggle it from true to false: security.mixed_content.block_active_content
https://support.mozilla.org/en-US/questions/971125
I am done with the above steps and tried opening the application and working fine.
But when I started running my scripts using Protractor, the changes which I made were not reflected.
I am getting the error messages as before and browser is stopping me .


How can I overcome the issue?
Thanks & Regards, Santhosh Chunchu
Selenium generates a temporary profile, different from the default you just changed. It is related to: https://github.com/angular/protractor/issues/1336
You have to create a new profile by running firefox with the -p option.
And pass it to selenium with the seleniumArgs config.
See: https://github.com/angular/protractor/issues/1336#issuecomment-56079484
I have added this firefox_profile: 'support/firefox_profile' and tried but cannot able to resolve my issue. Can you help me out indetail?
Yes.
- Run firefox with the
-poption - Create your specific profile. I named mine
selenium - Run firefox with this profile
- Make the changes you need in about:config
- Add this option in protractor configuration:
seleniumArgs: [ "-Dwebdriver.firefox.profile=selenium" ],
This way, your new profile will be used to run your tests.
Thanks for documenting the fix. Closing as a fixed question.