In Chromium, frameReady can hand back the glance frame before its #cost
element exists. getElementById("cost").textContent then throws inside
waitForFunction, and Playwright fails on a predicate's throw instead of
polling it again. It was red about 4 runs in 5 on the Windows box, on
origin/main f463a8aaf too. The four predicates that read an element's
text (the cost, and the nav label in ja and en) now read it with ?., so
a missing element is "not yet".
Run: win-run BROWSER=chromium node --test plugin-page.test.cjs, 5 of 5
green (3/3 each). Before: 1 of 5.
Fixes#4180