How to bypass Insecure password warning in Firefox during automation testing?

Since version 52, Mozilla Firefox has added a new warning that appears on HTTP forms. Specifically, when a login page you are viewing does not have a secure connection, a warning message informs you that if you enter your information it could be stolen by eavesdroppers and attackers (see image below). However, the warning message can obscure the entry box. Consequently, this warning message might cause your automated tests to halt unexpectedly.

To bypass this warning dialog, there are two following options:

Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400