Teams usually check their cookie banner once, from the office, in a browser where a choice was saved long ago. To test cookie consent properly, you need a first visit, an accept, a reject and a return visit from every country where your site shows its own banner variant. Here is what to test, how to build a region matrix using a proxy in the right country, and where the method stops working.
What to test in a consent banner
The core scenarios are the same everywhere: the banner on a first visit, accept, reject, granular settings, the choice persisting across pages and visits, and changing your mind. Watch what happens before a choice and after a reject: if your policy classes some cookies and third-party requests as non-essential, they should not appear until the visitor agrees. Check this in the browser's developer tools: cookies, local storage and the network request list. A banner that looks right but fires a non-essential request before the click is exactly what this test should catch.
Why the result depends on the visitor's country
Consent requirements differ between jurisdictions, so many sites show a different banner by country: accept and reject buttons on the first screen, a short notice, or no banner at all. Which variant goes where is up to your policy and your lawyers; the test confirms that the site does what was decided. If the variant follows the country detected from the visitor's IP, it works like the switch of currency, language and catalog described in proxies for checking site localization. From the office you only ever see one branch of that logic.
How to build a region matrix
List your banner variants and the countries mapped to each. Pick at least one country per branch, plus one that is on no list at all, to cover the default variant nobody in the office ever sees. Rows are countries, columns are the scenarios below, and each cell holds the result, the exit IP and the time. On your own server, log the client address and the country your logic detected, so a mismatch shows up in the log and not just in a screenshot.
ScenarioWhat we doWhat we check First visitClean profile, home page and one inner pageCorrect variant for the country; no non-essential cookies yet AcceptClick "accept"Banner hidden; only allowed cookies appear RejectNew clean profile, click "reject"No non-essential cookies or requests Granular settingsEnable one categoryOnly that category fires NavigationOpen several sectionsBanner stays hidden, the choice applies Return visitClose and reopen the browserChoice saved, no banner Change of mindReopen consent settings, change the choiceNew choice applies and is savedHow to set the exit country through a proxy
With a datacenter IP you pick the country at purchase: as of 1 December 2026 the catalog lists these addresses in 131 countries. The address is fixed to you for the whole rental term, so repeated runs use the same IP; terms start at 7 days. With per-GB residential and mobile proxies, the country is set by the login suffix -country-XX, for example -country-DE; check which countries your plan offers before buying. Their exit is stable by default, but the IP changes on a timer, with the "Change IP" button and during self-healing, and -rotate gives a new IP on every request. For banner tests, turn the timer off, skip -rotate and record the exit IP at the start and end of each scenario.
The limit of the method: targeting is by country only, with no city, state or ASN selection. If your site treats regions inside a country differently, such as states, a proxy cannot reach those branches; test them with a region override in your own code that works only in the test environment.
Clean runs: profiles, cookies and the log
Use a separate browser profile for each country, so one country's choice never leaks into another run. Before each scenario, clear the site's cookies and local storage, where the choice usually lives. A private window suits first visits and rejects, but closing it wipes the choice, so run return visits in a regular profile. Keep browser language and time zone the same for all countries, so any difference comes from the address alone. For each cell, record the country, exit IP, time, a banner screenshot, cookies before and after the choice, and the country your server detected.
Frequently Asked Questions
Can I test the rules of a single state or region inside a country?
Not through our proxies: targeting is by country only. Test regional logic on your test stand with a region override in your own code.
Why did the banner variant change in the middle of a scenario?
Compare the exit IP at the start and end of the run. A per-GB proxy changes address on a timer, with "Change IP", with -rotate, and during self-healing after two failed checks in a row; if your site re-detects the country on every request, the banner can follow. Turn the timer off, drop -rotate and repeat.
Which proxy type suits regular regression runs?
For the same address on every run, a datacenter IP, fixed to you for the whole rental term. For many countries, a per-GB proxy switches country with -country-XX but does not promise a constant address.
Pick the proxy type and exit country in the proxy section and the suffix format in the API documentation. To confirm that the exit address holds between runs, see how to check that a static proxy keeps its IP.