Logic Foundry

Build with understanding.

How Dropbox tests cookie consent across more than 200 web pages

Dropbox uses two tools to check whether its web pages respect visitors’ cookie preferences. A Playwright-based auditor tests what happens before and after a visitor rejects nonessential cookies. A companion tool uses traffic records to find active pages that the tests need to cover. Dropbox engineers Yasmin McDowell and Lawrence Good described the system in an engineering write-up covered by InfoQ on November 29, 2026.

What the browser checks

The auditor runs three scenarios for each page in scope: a typical US visitor, an EU visitor and a visitor sending a Global Privacy Control (GPC) signal. Each run starts in a fresh, isolated browser context with no existing cookies.

Before interacting with the page, the auditor records which cookies have loaded and compares them with the expected baseline for that scenario. It then locates the consent controls, rejects nonessential cookies and reloads the page to check whether the choice still holds. The two checks answer different questions: what the page sets before the visitor acts, and whether it respects an explicit refusal on a subsequent load.

Dropbox supports 22 languages, and its consent controls can appear in a floating banner, a preferences window or a footer link. Rather than matching translated button labels, the auditor interacts directly with the underlying consent elements. Because Dropbox builds its own banners, the tests can use the existing consent infrastructure. Cookie classifications, by contrast, live outside the auditor’s source code so the privacy team can update approved cookies and known exceptions without waiting for an engineering release.

How Dropbox decides which URLs to test

Across Dropbox, Dropbox Sign, DocSend and FormSwift, the company operates more than 200 web pages. Its companion URL discovery tool filters billions of visit records into a list of unique paths, then groups paths that share consent logic. A representative URL can therefore cover many similar pages without requiring a separate browser run for every path.

As of the November 2026 report, the auditor produced a weekly summary for privacy and engineering teams. It separated suspected violations from known false positives and tracked trends over time. Dropbox planned to send findings directly to the teams responsible for each page in a later iteration; that routing was not yet part of the weekly workflow.

In McDowell and Good’s assessment, browser automation may be the easiest part of the project. The harder work is deciding which cookies to expect in each scenario, keeping the page inventory accurate and distinguishing a genuine consent problem from a result that only looks like one.