pub fn install_page_on<'js>(
ctx: &Ctx<'js>,
target: &Object<'js>,
page: Arc<Page>,
async_ctx: AsyncContext,
) -> Result<()>Expand description
Install the page binding onto an arbitrary target object.
This is the single implementation; scripting passes ctx.globals()
(so bare page.goto(...) keeps working) and the BDD layer passes a
per-scenario World object (so cucumber this.page resolves to that
scenario’s fixtures). One binding, two install targets — no
duplicate PageJs wiring.