mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-08-01 10:16:25 -04:00
Follow up to https://github.com/lightpanda-io/browser/pull/2789 which adds better multi-page support for runner. When waiting, callers have the choice to wait for a specific frame, all current frames, or a given list of frames. The last one, a given list of frames, is the most flexible, allowing callers to provide an `until` per frame AND receive a per-frame result. waitForSelector and waitForScript continue to be per frame (which is now explicitly given). Like 2789, while the changes aren't insignificant (Runner is doing important work), a number of files were touched either purely because of changes in tests or other superficial changes, e.g. `session.runner` is now infallible.