Fix
June 22, 2021

Fix: Scripts Failing in Firefox due to Security Warning when Moving from HTTPS to HTTP

When a secure web page (eg. https://example.com), submits a form request to an insecure web page (eg. http://example.com), Firefox issues a warning dialog.

A user needs to manually click "Continue" or "Cancel" to dismiss this dialog.
Note that this dialog is not one of the native JavaScript dialogs (confirm, prompt or alert) which Sahi can automatically handle.

On Firefox browser, you may get the below warning which requires a manual intervention to perform the action.

To fix the issue on Firefox, please follow the steps below.

  • Take a backup of <SahiPro>/config/ff_profile_template/pref.js file.
  • Find and remove the line below.
    user_pref("security.warn_submit_insecure", false);
  • Add the below line in pref.js
    user_pref("security.warn_submit_secure_to_insecure", false);
  • Save the changes.
  • Delete the <SahiPro>/userdata/browser/ff folder.
  • Restart Sahi Pro and check.

Feel free to reach our Support team for further information

Continue reading