How-To: Block Unwanted Domains

A dead end road on a cliff
A dead end road on a cliff

How-To: Block Unwanted Domains

Sep 25, 2023

Sam

The Problem

When running automated tests it’s important that that environment is controlled, with no rouge GTM scripts injecting popups, or other domains interfering with the DOM.

This provides a challenge when running automated tests if the popup criterion is not consistent (for example, a 50/50 split on popup showing). So the question is: How do I block popups in Automated Tests?

The Solution

To find that pesky popup 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 popup. Below is a list of 10 examples.

  1. Popup Maker Domain: popupmaker.com

  2. Elementor Domain: elementor.com

  3. OptinMonster Domain: optinmonster.com

  4. SumoMe (Sumo) Domain: sumo.com

  5. Ninja Popups Domain: arscode.pro

  6. Bloom by Elegant Themes Domain: elegantthemes.com

  7. TrustPulse Domain: trustpulse.com

  8. WP Popups Domain: wppopups.com

  9. Thrive Leads Domain: thrivethemes.com

  10. ConvertPlus Domain: convertplus.io

With DoesQA, you are able to block domains from your account settings. As an example, we are blocking popup.welovetesting.com in the below image.

Now all tests that run on our platform automatically block this hostname. This way there will be no interference with the test that is running.

The Problem

When running automated tests it’s important that that environment is controlled, with no rouge GTM scripts injecting popups, or other domains interfering with the DOM.

This provides a challenge when running automated tests if the popup criterion is not consistent (for example, a 50/50 split on popup showing). So the question is: How do I block popups in Automated Tests?

The Solution

To find that pesky popup 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 popup. Below is a list of 10 examples.

  1. Popup Maker Domain: popupmaker.com

  2. Elementor Domain: elementor.com

  3. OptinMonster Domain: optinmonster.com

  4. SumoMe (Sumo) Domain: sumo.com

  5. Ninja Popups Domain: arscode.pro

  6. Bloom by Elegant Themes Domain: elegantthemes.com

  7. TrustPulse Domain: trustpulse.com

  8. WP Popups Domain: wppopups.com

  9. Thrive Leads Domain: thrivethemes.com

  10. ConvertPlus Domain: convertplus.io

With DoesQA, you are able to block domains from your account settings. As an example, we are blocking popup.welovetesting.com in the below image.

Now all tests that run on our platform automatically block this hostname. This way there will be no interference with the test that is running.

The Problem

When running automated tests it’s important that that environment is controlled, with no rouge GTM scripts injecting popups, or other domains interfering with the DOM.

This provides a challenge when running automated tests if the popup criterion is not consistent (for example, a 50/50 split on popup showing). So the question is: How do I block popups in Automated Tests?

The Solution

To find that pesky popup 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 popup. Below is a list of 10 examples.

  1. Popup Maker Domain: popupmaker.com

  2. Elementor Domain: elementor.com

  3. OptinMonster Domain: optinmonster.com

  4. SumoMe (Sumo) Domain: sumo.com

  5. Ninja Popups Domain: arscode.pro

  6. Bloom by Elegant Themes Domain: elegantthemes.com

  7. TrustPulse Domain: trustpulse.com

  8. WP Popups Domain: wppopups.com

  9. Thrive Leads Domain: thrivethemes.com

  10. ConvertPlus Domain: convertplus.io

With DoesQA, you are able to block domains from your account settings. As an example, we are blocking popup.welovetesting.com in the below image.

Now all tests that run on our platform automatically block this hostname. This way there will be no interference with the test that is running.

Now give these buttons a good test 😜

Want Better Automation Tests?

Want Better Automation Tests?

High-quality test coverage with reliable test automation.