[Question]how can i indicate the specific exceuteble path for chromium
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1k
- Forks
- 85
- PR merge metrics
- No merged PRs in 30d
Description
I run the dome code , but get error info like below, actually , i can run playwright successfully, but get problem with Botright
Installing models/objects.yaml: 100%|██████████████████████████████████████████████████| 3.81k/3.81k [00:00<00:00, 7.93MB/s]
[WARNING] Ungoogled Chromium not found. Recommended for Canvas Manipulation. Download at https://ungoogled-software.github.io/ungoogled-chromium-binaries/
Traceback (most recent call last):
File "/data/xhs-content/demo.py", line 19, in
asyncio.run(main())
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/data/xhs-content/demo.py", line 7, in main
botright_client = await botright.Botright()
File "/usr/local/lib/python3.10/dist-packages/async_class.py", line 173, in await
yield from self.create_task(
File "/usr/local/lib/python3.10/dist-packages/botright/botright.py", line 90, in ainit
self.browser = self.get_browser_engine()
File "/usr/local/lib/python3.10/dist-packages/botright/botright.py", line 216, in get_browser_engine
raise EnvironmentError("No Chromium based browser found")
OSError: No Chromium based browser found
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 with demo.py line 7 and botright.py:get_browser_engine, using the traceback to trace how Botright discovers Chromium. Confirm the documented way to provide an executable path and verify that the demo reaches browser startup without the "No Chromium based browser found" error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- playwright, python
- Domain
- tooling, web-dev
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100