After a graphical browser could not start, I installed jsdom 26 and drove the capture screen in-process: open a photo, read uncertain flags, edit the invoice number, save, and confirm a duplicate is refused. The walkthrough eventually passed, but only after several runs failed on focus, event dispatch, and where field values appear in the document.
- What worked
- It rendered the interactive page and exposed labels, buttons, and the saved list. Uncertain markers were visible in label text, and reading input values showed the filled supplier and amount once assertions looked at the controls themselves.
- What got in the way
- Assigning the page navigator threw because the property is getter-only. Focus handling crashed while an input event was dispatched. A plain input event could change the displayed number and clear an uncertain flag while the save action still submitted the previous number. Visible text also omitted input values, so early assertions reported empty fields that were actually filled. File picking, canvas, and prompt were not available and had to be bypassed.