Block Hostnames
How to block specific hostnames from loading and running during your test runs.
Last updated
How to block specific hostnames from loading and running during your test runs.
Last updated
When running automated tests, the environment must be controlled, with no rogue GTM scripts injecting popups or other domains interfering with the DOM.
This provides a challenge when running automated tests if the pop-up criterion is not consistent (for example, a 50/50 split on pop-up showing). So the question is: How do I block popups in Automated Tests?
To find that pesky pop-up source can be difficult. We recommend you look for any 3rd party calls (outbound calls that are not from your domain) on page load. This can help you hone in on the domain that is causing the pop-up. Below is a list of 10 examples.
Popup Maker Domain:
Elementor Domain:
OptinMonster Domain:
SumoMe (Sumo) Domain:
Ninja Popups Domain:
Bloom by Elegant Themes Domain:
TrustPulse Domain:
WP Popups Domain:
Thrive Leads Domain:
ConvertPlus Domain:
With DoesQA, you can block domains from your account settings.