Skip to content

Screen constraints are not respected with apify-fingerprint-datapoints 0.14.0 #2108

Description

@vdusek

ScreenOptions are not respected - with strict=True fingerprint generation fails, otherwise the screen
constraints are silently dropped and the fingerprint gets a screen outside of the requested range.

browserforge passes the screen-compatible user agents to the header generator only as a hint, so the
generated user agent is often outside of them and the fingerprint network then finds no consistent sample.
The 0.14.0 datapoints made that deterministic, so the version is capped in pyproject.toml (#2107).

Fix: enforce the allow list in PatchedHeaderGenerator - pin a retry to an allowed user agent with the same
browser, operating system and device.

Failing tests: test_fingerprint_generator_all_options, test_custom_fingerprint_uses_generator_options.

Acceptance

The apify_fingerprint_datapoints<0.14.0 caps removed and the tests above passing with the latest version.

✍️ Drafted by Claude Code

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions