[Question] Is it safe to specify screen width/height?
Open
Nobody has claimed this yet.
documentation
help wanted
question
- Dominant language
- Python
- Stars
- 1k
- Forks
- 85
- PR merge metrics
- No merged PRs in 30d
Description
Is it safe to specify screen width/height?
As I see it's determined based on a fingerprint:
https://github.com/Vinyzu/Botright/blob/f842900a715db06d64dac211aa31151bbc6ffa23/botright/playwright_mock/browser.py#L59-L60
Would doing this compromise the anti-bot measures?
context_args = {
'viewport': {'width': 1920, 'height': 1080},
}
browser = await botright_client.new_browser(**context_args)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading botright/playwright_mock/browser.py at lines 59-60 and the linked fingerprint-related context setup. Determine whether explicitly setting a 1920×1080 viewport affects the fingerprint or anti-bot behavior, then document a clear answer and any supported usage guidance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- playwright, python
- Domain
- security
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100