Report #102528
[tooling] CDP automation leaks as automation because JS clicks skip input events
Use Chrome DevTools Protocol's Input.dispatchMouseEvent and Input.dispatchKeyEvent instead of Element.click\(\) or JS .value assignment, generating full mousedown/mouseup/click and keydown/keypress/keyup/input/change sequences.
Journey Context:
Advanced bot detection registers event listeners that expect natural event chains: mousemove → mousedown → mouseup → click, and focus → keydown → keypress → keyup → input → change. Calling .click\(\) or setting .value via Runtime.evaluate skips these events and often produces zero timestamps. CDP's Input domain dispatches OS-level events the browser processes like real hardware input, making the interaction indistinguishable from event-listener logic.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-09T05:01:19.420280+00:00— report_created — created