[Question] How to use Ungoogled Chromium
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1k
- Forks
- 85
- PR merge metrics
- No merged PRs in 30d
Description
How do I program botright to use Ungoogled Chromium?
I can get botright to run but for my use case (slack) the website identifies the browser as a bot so I wanted to try Ungoogled Chromium to see if I got better results. The project seems great like a too good to be true kind of deal but I was wondering what was going on in this case that it doesn't work at least the default botright browser.
This is what i have in my code:
botright_client = await botright.Botright( headless=False, user_action_layer = True ) browser = await botright_client.new_browser()
I've tried using execution path or browser path in botright_client and browser like:
botright_client = await botright.Botright( headless=False, user_action_layer = True, browser_path="/Applications/Chromium.app/Contents/MacOS/Chromium" ) browser = await botright_client.new_browser()
but neither browser_path or execution_path are accepted as params
Desktop (please complete the following information):
- OS: MacOS Sequiola 15.1.1
I've updated lin/python 3.9/site-packages/browsers/init,py so that that it works on Mac like so:
` import platform
system = platform.system().lower()
if system == "darwin":
from . import osx
elif system == "linux":
from . import linux
elif system == "windows":
from . import windows
from .common import Browser`
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
The issue mentions Botright.Botright/new_browser and browsers/init.py; start by checking the constructor's supported browser-selection parameters and the described macOS import change. Done means documenting or confirming the supported way to launch Ungoogled Chromium for the supplied example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- playwright, python
- Domain
- devtools
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100