Clipboard.
Writes a sentinel value to the clipboard then reads it back. Confirms both directions work in this browser context.
Read needs page focus + a user gesture. Permission is granted via the Clipboard prompt the first time the page asks.
We call navigator.clipboard.writeText(sentinel) with a unique timestamped string, then immediately .readText() and compare. If both succeed and the value matches, the test passes.
Write almost always works. Read often fails on Firefox without permission, on Safari without a recent gesture, or on any browser when the page is unfocused. The failure mode is logged — we don't pretend it succeeded.