- 0.72.2: the snapshot and read_html read again on the page that replaced the one they went to
invisible-playwright 0.35.2 sends the caller's code once: page.evaluate raises
Playwright's navigation error when the page moves under it, because a script
waiting on a promise ran twice when it was sent again (B285). The snapshot and
read_html are this package's fixed reads without effects, and they reached the
page through page.evaluate; they ask page.evaluate_read now, which reads again
on the page that replaced the one it went to. browser_evaluate, the model's
code, stays on page.evaluate and runs once. The floor moves to
invisible-playwright>=0.35.2.
test_read_text_after_a_page_moves_on.py reads each of them first after its own
navigation on the seven pages that replace themselves; a unit test says which
door each tool takes.
- 0.72.2: the floor moves to invisible-playwright 0.35.4, where a page that replaces itself keeps its main world
On 0.35.2 this PR's e2e failed on /head for the snapshot and read_html: "Page.evaluate_read: the main world never
appeared for frame mainframe-9. Worlds seen: ['ctx_aux']". The engine announced only the utility world of the
document that replaced the one navigated to, and a read in the page's own world waited 30 s for one that never came
(B286). firefox-42, through invisible-core 42.39.0 and invisible-playwright 0.35.4, keeps it. Measured with 0.35.6
(core 44.39.0) under Xvfb 1920x1080: the redirect e2e 29 passed, the floor test 2 passed.