Skip to content

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

@n-sviridenko

Description

@n-sviridenko

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationhelp wantedExtra attention is neededquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions