-
-
Notifications
You must be signed in to change notification settings - Fork 77
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`