Before submitting
Problem
mac-approve looks for the sheet titled Allow remote debugging? and a button described Allow. Chrome localizes both (Japanese: リモート デバッグを許可しますか? / 許可する), so on any non-English UI it returns not-found and the handshake dies at 45 s.
Proposal
Identify the sheet structurally (the only sheet on Chrome's windows whose title mentions debugging, or the one containing the per-instance checkbox) and press the button by a label list — Allow, 許可する, … — overridable by env for languages not listed.
Alternatives considered
- Forcing Chrome to English (--lang) changes the operator's browser
- AXPress on the default button is unsafe (could be Cancel)
- driving the sheet by keyboard needs focus and steals it.
Before submitting
Problem
mac-approve looks for the sheet titled
Allow remote debugging?and a button described Allow. Chrome localizes both (Japanese: リモート デバッグを許可しますか? / 許可する), so on any non-English UI it returns not-found and the handshake dies at 45 s.Proposal
Identify the sheet structurally (the only sheet on Chrome's windows whose title mentions debugging, or the one containing the per-instance checkbox) and press the button by a label list — Allow, 許可する, … — overridable by env for languages not listed.
Alternatives considered