Skip to content

Add max scroll limit in screenshot function to prevent timeout for infinite scroll page #7

@Aman-Codes

Description

@Aman-Codes

Description

Currently the screenshot function will scroll the page by 200 units until it reaches the end of the page and then it takes a screenshot of that page. But for webpages with infinite scroll (like Google images page), it would give API timeout error. Hence a reasonable limit should be added on the number of times page is scrolled and also user should be able to specify that as a parameter in the post request. If no parameter is specified then a default value could be used.

Relevant Files

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions