Skip to content

feat: add |skipScreenFingerprint| option to handle missing screen properties#480

Open
jagadeshjai wants to merge 1 commit into
apify:masterfrom
jagadeshjai:jagadesh/feat__skip_screen_fingerprint
Open

feat: add |skipScreenFingerprint| option to handle missing screen properties#480
jagadeshjai wants to merge 1 commit into
apify:masterfrom
jagadeshjai:jagadesh/feat__skip_screen_fingerprint

Conversation

@jagadeshjai
Copy link
Copy Markdown

Add a new skipScreenFingerprint option to FingerprintGeneratorOptions that allows users to generate fingerprints without requiring screen properties. This eliminates the need for silent retries when screen generation fails.

  • Added skipScreenFingerprint boolean option to FingerprintGeneratorOptions
  • Updated Fingerprint type to allow screen property to be null (ScreenFingerprint | null)
  • Replace workaround if (!fingerprint.screen) continue with explicit user-controlled behavior

Benefit:

  • Improves reliability by avoiding unnecessary generation retries and better performance when screen properties are not needed

Closes: #479

…perties

Add a new `skipScreenFingerprint` option to FingerprintGeneratorOptions that allows
users to generate fingerprints without requiring screen properties. This eliminates
the need for silent retries when screen generation fails.

- Added `skipScreenFingerprint` boolean option to FingerprintGeneratorOptions
- Updated Fingerprint type to allow screen property to be null (ScreenFingerprint | null)
- Replace workaround `if (!fingerprint.screen) continue` with explicit user-controlled behavior

Benefit:
- Improves reliability by avoiding unnecessary generation retries and better performance when screen properties are not needed

Closes: apify#479
@jagadeshjai jagadeshjai force-pushed the jagadesh/feat__skip_screen_fingerprint branch from 9c306b5 to 38a7fa3 Compare October 16, 2025 18:38
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

Successfully merging this pull request may close these issues.

Solve "Failed to generate a consistent fingerprint after 10 attempts"

2 participants