Skip to content

[Bug]: #1748

@mkaesler44

Description

@mkaesler44

crawl4ai version

0.7.8

Expected Behavior

When performing full page screenshots with a scroll_delay, the scrolls between screenshots should respect the scroll_delay parameter and wait that amount of time before screenshotting

Current Behavior

Currently there is a hardcoded asyncio.sleep(0.01) between each of the screenshots in the take_screenshot_scroller() function, thus each screenshot only waits 0.01 seconds before scrolling for the next screenshot

Is this reproducible?

Yes

Inputs Causing the Bug

Steps to Reproduce

Code snippets

OS

macOS

Python version

3.12.0

Browser

No response

Browser version

No response

Error logs & Screenshots (if applicable)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 BugSomething isn't working📌 Root causedidentified the root cause of bug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions