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

Error while determining size of the page #19

Open
its5Q opened this issue Oct 27, 2023 · 0 comments
Open

Error while determining size of the page #19

its5Q opened this issue Oct 27, 2023 · 0 comments

Comments

@its5Q
Copy link

its5Q commented Oct 27, 2023

Hi, thanks for this awesome screenshot tool. I've encountered an error while using it, seems like it can't handle websites that redirect you using JavaScript/http-equiv=refresh, and it fails to screenshot those websites. I've done some quick research, and, perhaps, waitForNavigation() could be used to fix it.
Here's an HTML sample you can use to reproduce the issue:

<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="0;URL='http://example.com/"http-equiv="refresh"> 
  </head>
  <body>
  </body>
</html>
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