webOS: open the keyboard only on OK; hovering a tab does not switch views

Text fields are read-only while the focus passes over them (webOS opens its
keyboard for every editable field that gets focus); OK or a click starts
typing, Enter, Back or up/down ends it. The pointer focuses a tab without
switching to it; a click does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-25 18:58:23 +01:00
co-authored by Claude Opus 5.5
parent 0dedcb3893
commit de1491617e
6 changed files with 82 additions and 13 deletions
+7
View File
@@ -9,6 +9,7 @@
// Green Yellow Blue PageUp PageDown 1-7
// type TEXT type into the focused field
// sleep SECONDS
// point X Y / click X Y the Magic Remote's pointer: move there / click there
// shot NAME OUTDIR/NAME.png
// log print the app's console and the focused element
@@ -71,6 +72,12 @@ for (const raw of readFileSync(scenePath, "utf8").split("\n")) {
case "type":
await page.keyboard.type(line.slice(5));
break;
case "point":
await page.mouse.move(Number(rest[0]), Number(rest[1]));
break;
case "click":
await page.mouse.click(Number(rest[0]), Number(rest[1]));
break;
case "sleep":
await new Promise((r) => setTimeout(r, parseFloat(rest[0]) * 1000));
break;