Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Is it safe to specify screen width/height? #135

Open
n-sviridenko opened this issue Jan 18, 2025 · 0 comments
Open

[Question] Is it safe to specify screen width/height? #135

n-sviridenko opened this issue Jan 18, 2025 · 0 comments
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed question Further information is requested

Comments

@n-sviridenko
Copy link

Is it safe to specify screen width/height?

As I see it's determined based on a fingerprint:

"screen": {"width": fingerprint.screen.width, "height": fingerprint.screen.height},
"viewport": {"width": fingerprint.screen.avail_width, "height": fingerprint.screen.avail_height},

Would doing this compromise the anti-bot measures?

context_args = {
    'viewport': {'width': 1920, 'height': 1080},
}

browser = await botright_client.new_browser(**context_args)
@n-sviridenko n-sviridenko added documentation Improvements or additions to documentation help wanted Extra attention is needed question Further information is requested labels Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant