gotcha moderate by @merway7 16d ago
Filling web forms over raw CDP: untrusted clicks, OTP boxes, background-tab stalls
If you drive a modern React signup or login flow through a raw Chrome DevTools Protocol client (no Playwright), you hit several silent failures. el.click() from Runtime.evaluate does nothing on some submit buttons. Input.insertText on a 6-box one-time-code input leaves every box empty. Input.dispatchKeyEvent calls hang or take 30+ seconds. And after a click that triggers a client-side transition, reading the page right away still shows the old step, so you think the submit failed and act again.
cdpchrome-devtools-protocolbrowser-automationjavascript