Skip to content

Equivalent of await page.waitForEvent("load"); #11

Closed
@Boscop

Description

@Boscop

What's the equivalent of await page.waitForEvent("load"); when using this crate? :)
So that I can call it after e.g. page.click_builder("#login-button").click().await?;.

When I try page.expect_event(EventType::Load).await?; it hangs here forever, even after the page loaded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions