BlockEdge

Technology and digital life

How Dropbox checks cookie consent across more than 200 web pages

Dropbox uses two internal tools to check whether its web pages respect visitors’ cookie choices. One tests which cookies load before a visitor interacts with a page and after they reject nonessential cookies. The other uses traffic data to find active pages that the tests need to cover. Dropbox engineers Yasmin McDowell and Lawrence Good described the system in November 2026.

The cookie auditor uses Playwright, an open-source browser automation library, to run three tests on each page in scope: one simulates a typical US visitor, another simulates an EU visitor, and a third sends a Global Privacy Control (GPC) signal. Each test starts in an isolated browser session with no existing cookies. Before interacting with the page, the auditor records which cookies load and compares them with what Dropbox expects for that scenario. It then rejects nonessential cookies, reloads the page and checks whether the choice still holds.

Dropbox supports 22 languages, and a visitor may encounter consent controls in a floating banner, a preferences window or a footer link. Rather than look for a particular button label, the auditor interacts directly with the underlying controls in Dropbox’s own consent system. Cookie classifications sit outside the auditor’s source code, so the privacy team can update the approved cookie list and known exceptions without waiting for a software release.

The companion tool, which the team calls an “auditor for the auditor,” addresses a different problem: keeping the page inventory accurate across products including Dropbox, Dropbox Sign, DocSend and FormSwift. It filters billions of visit records into a list of unique paths, then groups paths that share the same consent logic. Testing a representative URL can thus cover a group of similar pages.

The auditor produces a weekly report for privacy and engineering teams that separates suspected violations from known false positives and tracks trends over time. Dropbox plans to send findings directly to the teams responsible for the affected pages in a future iteration. As McDowell and Good noted, automating the browser may be the easiest part; the harder tasks are defining what should happen, knowing which pages to test and distinguishing real problems from noise.