You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 99932fa
Browse filesBrowse the repository at this point in the historyBrowse files
fix(fillField): cross-helper iframe detection + leak guard for hidden form controls
- WebDriver/BiDi rejects element refs as executeScript args from inside a
switched-frame context, breaking the inner-iframe focus/select calls.
Run those scripts via document.querySelector on the marker instead, then
send keystrokes via the already-frame-aware page keyboard.
- Add EDITOR.UNREACHABLE: when the user's locator points at a display:none
INPUT/TEXTAREA, throw a clear error instead of falling through. Without
this, Puppeteer's lenient el.type() silently leaks to whatever has focus.
- Test reads outer-input value via executeScript to dodge a pre-existing
WebDriver grabValueFrom bug that drops empty strings in forEachAsync.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
thrownewError('fillField: cannot fill a display:none form control. Locator must point at the visible editor surface (a wrapper, iframe, or contenteditable).')
0 commit comments