Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh page #91

Open
MurphyPone opened this issue Nov 20, 2019 · 0 comments
Open

Refresh page #91

MurphyPone opened this issue Nov 20, 2019 · 0 comments

Comments

@MurphyPone
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant