Skip to content

Add tests for PlaywrightCrawler's infinity_scroll and block_requests features #1568

@vdusek

Description

@vdusek

Test coverage for src/crawlee/crawlers/_playwright/_utils.py is currently only 13%, making it the lowest-covered module in the project. This module appears to be the only one without any dedicated tests, and the functions infinite_scrolling and block_requests` are not tested at all (they are public functions exposed via crawling context).

Add tests to ensure these util functions are covered.

Metadata

Metadata

Assignees

Labels

t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions