[Question] I want to know where the user agent was generated from. I used Playwright asynchronously to access the browserscan website, and he informed me that the browser version set by your browser does not match your actual browser version. It seems that the newly generated UA cannot be overwritten
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
async def run_browser(port):
headers = HeaderGenerator()
headers.generate()
botright_client = await botright.Botright(use_undetected_playwright=True)
lock = asyncio.Lock()
try:
async with lock:
browser = await botright_client.new_browser()
page = await browser.new_page()
await page.goto(f"https://www.browserscan.net/")
await page.wait_for_load_state('networkidle')
await asyncio.sleep(30)
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
No source file, test, or entry point is identified in the issue. Start by tracing user-agent generation during botright_client.new_browser() and reproduce the reported mismatch at browserscan.net; done means identifying the generation source and confirming whether the resulting UA can be overridden.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- playwright, python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100