Skip to content

Refresh page #91

@MurphyPone

Description

@MurphyPone

Is it possible to force the RoboBrowser instance to reload a page?

In my use case, I'm waiting for a download to finish before scanning for hrefs to follow, but the parsed() method doesn't appear to update as the page loads – e.g. it's forever stuck at 0% downloading even though the expected wait time is 30s. If I refresh the page mid-download (manually), it doesn't interrupt the download progress. My guess is that parsed() references a snapshot of sorts taken once when a page loads, and further invocations reference that snapshot instead of the live HTML?

I've tried invoking the open() method again, but that seems to create a new "window" of sorts, losing all the download progress...

Thanks!

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