Can't connect to Web Browser
Everytime I try to use lidl-plus auth I am running into a Webbrowser Exeption after entering the password. I tried with Chrome, Chromium and Firefox.
A clear and concise description of what you expected to happen.
- Python-Version: 3.12.4
- Release-Version: 0.3.5
For auth problems:
- OS : Windows11, MacOS 13.5.1
- Browser: Chromium, Chrome, Firefox
- Country: DE
- Language: de
Same issue. Using in venv:
- version 3.12.4
- OS arch linux
- installed browsers: Firefox, Chromium
- Country DE
- language de
It simply won't open any of my browsers, only display Can't connect to web browser. Please install Chrome, Chromium or Firefox.
I tried export BROWSER="firefox" before running, but that doesn't make a difference.
Regarding the error from @prankousky , which may be different from the original issue (Webbrowser exception) here: There seem to be a few problem with this package related to changes in dependencies; I think an older version of Selenium is required. Alternatively, a very quick and dirty fix that at least got Firefox working again for me was changing api.py FROM
return webdriver.Firefox(
executable_path=GeckoDriverManager().install(),
firefox_binary="/usr/bin/firefox",
options=options,
firefox_profile=profile,
)
TO
return webdriver.Firefox(
options=options
)
This is not a particularly good solution and could have all sorts of unintended consequences but I was able to get a new refresh token this way.