Summary
While recording business process with pop-ups, Firefox tries to block the pop-ups and displays a pop-up blocker bar with a message ‘Firefox prevented this site from opening a pop-up window’.This document provides instructions how to change the pop-up blocker options.
Question
While recording business process with pop-ups in AJAX TruClient Protocol, Firefox tries to block the pop-ups and displays a pop-up blocker bar with a message ‘Firefox prevented this site from opening a pop-up window’.
How to change the pop-up blocker options, so that this message and the pop up is not displayed during the script recording?
Answer
To disable the pop-ups during recording:
- In the Firefox address bar, enter ‘about:config’. Click ‘I’ll be careful, I promise’ tab.
- In the filter field, enter disable_open_during_load.
- Right click on ‘disable_ open_during_load’ and select ‘Toggle’. The value changes to ‘false’.
- Record initial Navigation step again.
The pop-ups will be disabled.
To edit pop-up blocker options during replay:
-
Open the script directory
-
Go to profiles\interactive folder
-
Edit the file ‘perfs.js’
-
Search for the line – user_pref(“privacy.popups.showBrowserMessage”, false);
-
Change the value to true – user_pref(“privacy.popups.showBrowserMessage”, true);
The pop-up blocker bar will be displayed the next time the script is replayed.