Fixes verified live on Edge 157, Chrome for Testing 157 and Firefox 159.0.1
through the installed DSH plugin (Edge Kit Browser v3.6.1 base).
Firefox / WebDriver BiDi:
- type: BiDi has no {type:'text'} key action and input.insertText is unknown;
type by one keyDown/keyUp pair per code point.
- Enter/Delete/PageUp/PageDown/Escape: named keys now win over their text form
(Enter was sent as a '\r' character) and the WebDriver key table is fixed
(Escape was NUMPAD1); pressKey always sends the matching keyUp.
- newTab: browsingContext.create ignores an inline URL; create then navigate.
- waitForLoad: poll document.readyState for BiDi so a missed load event no
longer stalls newTab ~15s; also report loadEvent source.
- close/detach: end the Firefox BiDi session explicitly (a bare WebSocket
close does not release it -> "Maximum number of active sessions").
- restart/dispose: close the browser through the protocol before dropping the
socket (the spawn handle is only the Windows launcher, so killing it orphaned
the browser); re-validate attach-only sessions and never leave a half session.
- proxy: Firefox -proxy-server takes host:port (strip the http:// scheme);
v3.6.1 direct-traffic preferences are kept.
- relaunch: only the selected engine is taskkilled, and Firefox refuses
relaunch instead of killing every Firefox window.
Shared (Edge/Chrome/Firefox):
- see: prioritize aria-label for accessible names.
- click {text}/type {into}: walk shadow roots of every element, not just the
host shapes already matched (shadow-DOM buttons and inputs are found).
- click {index}: re-resolve the element captured by the last see and scroll it
into view before clicking (a stale cached coordinate silently missed).
- press {key:'Space'}/named keys: case-normalized named keys and a real space
character (CDP delivered event.key = "" for the named form).
Also includes the native-portability loader for schemastery (asar-aware),
the home-relative activation-probe path, and the close action that no longer
nulls its session before Browser.close (browser leak).