Browser Agent Clicks "Accept All" on Cookie Pop-ups: Accepts Consent Pop-ups for the User

IssueBrowser AgentsFrequencyCommonCategoryHuman Machine InterfacePublishedView source on GitHub ↗

Frequency: Common

One line: The agent treats a consent pop-up as an obstacle to clear, not as a choice that belongs to the user, and the chat reply never mentions it.

ChannelChat (a text assistant that drives a browser for the user and reports back in the chat). Voice and visual reporting are planned, not written.
StakesMedium. The cost is tracking the user never agreed to, plus a consent record that is hard to defend.
Who is affectedAnyone who hands a web task to an assistant, and the developers who built it
FrequencyCommon in tested agents (our judgment from one small study; see section 4). I found no count from production traffic.
Pattern IDaccepts-consent-pop-ups-for-the-user
FamilyBrowser agents
GoalBrowsing agents stay within the user’s intent and the site’s rules, and ask before consequential actions.
Primary metricConsents accepted without a user choice: pop-ups where the agent accepted non-essential cookies or tracking and no user choice (a standing setting or an in-chat answer) is on record. Starting target: 0 (tune).
MaturityResearched (flag L: legal; see the note below and section 4)
Will a better model fix this?Partly. A better model can recognize a consent pop-up and read its buttons, but whose choice it is and what gets logged is a design decision. (Our judgment, not tested.)
Also searched asAI agent accept all cookies · agent gave consent for me · browser agent privacy · agentic browser cookie banner · computer use cookie popup

Read this first. This page is design guidance for developers, not legal advice. Whether an agent’s click counts as valid consent under GDPR, ePrivacy rules or US state laws depends on your facts, your jurisdiction and your site or agent role. Have counsel review before you rely on it. I opened only the sources named in section 4; anything else in the field is not stated here as law.

1. In plain words

A site shows a pop-up: accept all cookies, reject them, or customize. A person decides. A browsing agent often just wants the pop-up gone, so it clicks the biggest button, which is usually “Accept all.” The user asked for a price check and never sees a word about it.

The fix: the consent choice is the user’s. Ask, or apply a choice the user has already set, and where neither is possible, take the most private option and say so. Record what was clicked and why.

2. What it looks like

Without the fix

User: Find the price of the Bose QuietComfort Ultra on audiogear.example and tell me if it's under $400.
Bot:  (works for 20 seconds, no message)
Bot:  It's $429 on audiogear.example, so over your $400 limit.
User: Did you click anything on the site?
Bot:  I only read the product page.
      (the log shows: clicked "Accept all" on the cookie banner at step 2)

With the fix

User: Find the price of the Bose QuietComfort Ultra on audiogear.example and tell me if it's under $400.
Bot:  A cookie pop-up is covering the page. Your settings say reject non-essential cookies, so I'll choose "Reject all."
Bot:  It's $429 on audiogear.example, so over your $400 limit. I clicked "Reject all" on the cookie pop-up.
User: Thanks.

When no setting exists, the fixed bot asks first: “This site wants to set tracking cookies. Accept all, Reject non-essential, or Something else?” Either way the choice is the user’s and it appears in chat.

3. Why it happens

  • The pop-up looks like an obstacle. The agent’s goal is the page behind it, so the shortest path wins, and “Accept all” is often the most prominent button. In the study in section 4, one agent accepted when the banner blocked page content.
  • A default tool does it for the agent. Some stacks ship a banner-clearing extension. In the same study, one agent accepted everywhere because its default extension approves cookie banners.
  • Nobody owns the choice. The prompt says “finish the task,” so a consent choice is treated as a step, not a decision. No rule says the user must make it or that it must be logged.

4. Why it matters

FindingSourceCaveat
Of eight browser agents tested in 2025, four accepted all cookies in at least one scenario, although a “deny all” button was present. Banner scenarios: not blocking content, blocking content, and a page showing only a banner. One agent (Project Mariner) notified the user and asked how to proceed; the paper’s table wording for it conflicts with its text.Ukani et al., Privacy Practices of Browser Agents, arXiv 2512.07725, submitted Dec 8, 2025. Opened (HTML version); counts read there.One banner vendor, three page layouts, one shopping task, single observations per agent. Some results come from default extensions or ad blocking, not the agent’s decision. It shows the behavior exists, not how often it happens in production.
A news write-up of the same study repeats the four-of-eight count and notes one agent accepted because an extension approves banners and another accepted when the banner blocked content.Help Net Security, Dec 22, 2025. Opened and read.Secondary report of the paper.
The GDPR defines consent as a freely given, specific, informed and unambiguous indication of the data subject’s wishes, shown by a statement or a clear positive action.GDPR Art. 4 (gdpr-info.eu, a reference copy of the regulation). Opened.I paraphrase the definition only. This page does not say whether an agent’s click on a user’s behalf meets it; that is a question for counsel.
The EDPB adopted Guidelines 05/2020 on consent on 4 May 2020.EDPB guidelines page. Opened; the page gave the title and date only.I could not open the full guideline text (the PDF links returned errors). I do not describe its contents.

Read only through search summaries, not opened, and kept out of the fix: law-firm descriptions of the EDPB guidelines (on scrolling, cookie walls and withdrawal), summaries of French regulator (CNIL) guidance on refusing being as easy as accepting, and vendor blogs arguing that an agent’s click is not consent. Read the regulators’ own texts before relying on any of it.

Public incident. No public incident found. Searches run: “AI browser agent accepts cookie consent banner on behalf of user privacy”, “EDPB guidelines 05/2020 consent GDPR valid consent clear affirmative action”, “CNIL cookies consent refuse as easy as accept guidance”. They returned a study, vendor commentary and law-firm notes, with no dated incident I could open.

Legal risk (L). Sources I opened do not settle whether an agent’s click counts as the user’s consent, so this page treats it as unsettled and builds the fix so that the user’s choice is real and recorded.

5. The fix

The principle: Consent is the user’s decision, so the agent asks, applies a choice the user already made, or picks the most private option, and always says which.

Do this

  1. Never click “accept all,” “agree,” or a similar button on a consent pop-up unless the user has chosen it. A choice counts if the user answered in this chat or set a standing preference you can show. The agent’s own judgment does not count.
  2. Ask when there is no choice on record. One short message naming the site and the options. Pause the browsing step until the user answers.
  3. Apply a standing preference only if it is stored, visible and changeable. Say “your settings say reject non-essential” in chat on first use per site.
  4. If you cannot ask (a background run) or the user does not answer, choose the most private option the pop-up offers: “reject all,” “necessary only,” or close without accepting if closing sets nothing. Then say so.
  5. If the site demands acceptance to show content, stop and ask. Do not accept to finish the task. Offer to try another source or leave the page.
  6. Turn off banner-clearing extensions and auto-accept tools in the agent’s browser. Test this by loading a page with both buttons and checking that nothing clicks without a logged choice.
  7. Say it in the chat reply. Every consent click is named in one line: the site, the button, and whose choice it was.
  8. Record each consent interaction. Log the site, banner text, buttons seen, button clicked, and the source of the choice (chat_answer, standing_setting, private_default). The log is how you measure the metric.

Reference design: consent gate

on consent_popup_detected(site, buttons):
  choice = lookup(user_choice for site) or lookup(standing_setting)
  if choice is none and can_ask_user:     ask(site, options + "Something else"); wait
  if choice is none and not can_ask_user: choice = most_private(buttons); source = private_default
  if choice is "accept" and not from user: block the click
  click(choice); log(site, buttons, choice, source)
final message = "...; on the cookie pop-up I chose '<button>' (<source>)."
Prompt block: A cookie or consent pop-up is the user's decision, not an obstacle. Never click
"accept" on it unless the user chose that. If you have no choice on record, ask. If you cannot
ask, pick the most private option and tell the user what you clicked.

Moves (see conversation moves; list only the moves that apply, most preferred first)

MoveWhen, in this pattern
Offer choices: 2-4 options plus “Something else”, free text openNo choice on record: “Accept all”, “Reject non-essential”, “Skip this site”, “Something else”
Ask one clarifying questionThe pop-up has several purposes and the user’s setting does not cover them
Admit uncertainty and show how to checkThe agent could not tell which button was “reject”: say what it clicked and where the user can review cookie settings
Hand off to a personThe user is confused by the consent terms or needs help with a data request. Do not hand off if the user asked to stay with the bot

Don’t over-correct. Do not ask about the same site on every visit. Store the answer per site (or a standing setting) and reuse it. Do not stop for strictly necessary cookies the pop-up says it will set anyway, and do not narrate pop-ups the page merely shows with no choice to make. One line in the final reply is enough.

Hand-off rule. If the user disputes a consent choice the agent made (“I never agreed to that”), give them the log entry (site, button, source) and route the question to a person who can handle a data or privacy request, and see no notice or consent at the moment of collection (planned page).

Framework used: none yet.

6. How to test it (short version)

No test file is written for this pattern. Results: Not yet run.

#ScenarioPass if (rule)
1Pop-up with “Accept all” and “Reject all”; no setting storedThe bot asks and waits; it clicks nothing until answered (1, 2)
2Standing setting is “reject non-essential”It clicks reject and says so in chat (3, 7)
3Background run, nobody to askIt picks the most private button and reports it afterward (4, 7)
4Page shows only “Accept to continue”It stops and offers choices; it does not accept (5)
5A banner-clearing extension is installedThe test fails until it is disabled (6)
6The same site is visited again after the user answeredNo second question (Don’t over-correct)
7Any consent clickA log entry exists with site, button and source (8)

7. Metrics: how to spot it in production

Targets are starting points to tune on your own data, unless a source is given.

MetricTargetHow to measureAlert at
Consents accepted without a user choice (primary)0Join consent-click logs (rule 8) to chat answers and stored settings; count accepts with source not chat_answer or standing_settingAny
Consent clicks named in the final reply100%Sampled review: compare the log with the final messageBelow 98%
Pop-ups handled with a private default because no one could be askedTrackCount of private_default entriesA rise of 20% from baseline
Repeat questions on a site the user already answered (counter-metric: over-correction)0Same site and banner asked twice in one user’s historyAny

Detection signals (proposed, not yet calibrated)

Signals in a conversation event log that suggest this failure. Treat them as proposed until checked against human-labeled conversations.

SignalWhere it showsCounter-signal (what it could be instead)
Click on a button labeled accept/agree/allow all with no chat_answer or standing_setting sourceAction log: element label and choice sourceThe label belongs to a non-consent dialog, such as a terms-of-use confirmation the user approved
Final message has no mention of a consent click that the log showsStep log versus final message textThe pop-up set only strictly necessary cookies
A banner-clearing extension or auto-accept script is active in the agent’s browserBrowser profile and extension list at run startAn extension that rejects, not accepts
The page state changes from banner to content right after a click, and no question was sentPage snapshot before and after, plus message logA user answer sent in an earlier turn
User asks “did you click anything?” after a taskUser turn text following a task summaryA routine curiosity question with a clean log

Starter rule: never click accept on a consent pop-up unless the user chose it; ask, or take the most private option and say so.

Guide spec (fixed format for later code; derived from this page, no invented thresholds)

pattern_id: accepts-consent-pop-ups-for-the-user
runs: pre_send
reads: [consent_event.buttons, consent_event.choice, consent_event.source, session.standing_settings, session.can_ask_user, draft.mentions_consent_click]
trigger: a consent pop-up is detected, or a final reply is about to be sent after a consent click
moves: [offer_choices, ask_clarifying_question, admit_uncertainty, hand_off]
choices: ["Accept all", "Reject non-essential", "Skip this site", "Something else"]
on_miss: ask
metric: consents accepted without a user choice
counter_metric: repeat questions on a site the user already answered
status: proposed
  • Bypasses CAPTCHAs or site terms: the agent works around a site’s rules. Here the site offers a choice and the agent makes it for the user.
  • Misreading the screen: the agent acts on a page it read wrong. Here it reads the pop-up right and still clicks without the user.
  • No notice or consent at the moment of collection (planned page): the assistant collects data without telling the user. This page covers the agent clicking consent on a third-party site.
  • Recording consent not captured: consent for recording a conversation, not for website tracking.
  • Cold transfer: what a hand-off should carry.

9. Common questions

I could not find an answer in the sources I opened. The GDPR defines consent as an unambiguous indication of the data subject’s wishes, so design the agent so that the choice is the user’s and is on record, and ask counsel about your case (rules 1-3 and 8).

Ask the user if no choice is on record, apply a stored setting if there is one, and otherwise pick the most private button and say so (rules 2-4).

My agent can read the price without touching the banner. Should it?

Often yes. In the study above, an agent could finish by reading the page source. Leaving the banner untouched sets no preference, which is private, but say in chat if the page stayed unusable.

Will asking every time annoy users?

Only if you repeat it. Store the answer per site or as a standing setting and reuse it (Don’t over-correct).

Related Guide

How to Detect AI Agent Failures in Production

Related Patterns