-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If user has no Chrome installed #21
Comments
Add info about:
|
Also, need to test whether it will work with |
TODO:
|
Sorry to bother again, but i am trying to fill in the The error is: |
@XaaRii Maybe it is related to slashes? Windows uses backslash I've tried experimenting with executable_path, but UC seems to be completely ignoring it. It launches Chrome even with |
forgot to say, i tried both double backslash and normal slash as well. This really seems like an issue on UC's side, just tested putting the chrome folder (with executable) to their default installation location and it was indeed used (so it's probably a hardcoded path) If you're interested in traceback when no chrome is found, here you go. But I understand it's probably no use for you... |
Now there is no need for this. I'll keep this open for a while in case ultrafunkamsterdam/undetected-chromedriver#897 will get any fixes. It is always useful to have a backup option. |
So, i wanted to run it on my windows machine (tested on my personal Win10 and on a clean install of Win11). (Friendly reminder, it requires vc_redist (x64), otherwise it crashes with some error about failed dll load of _brotli.)
Anyways, both machines crashed while opening the browser (last thing in the log:
DEBUG - uc - [__init__]: did not find a bad exit_type flag
). Well, that IS because i have Firefox on my main pc / Edge on the clean one. After installing Chrome, it seems to be working... would be nice to write somewhere it is mandatory, not everyone runs chrome. Also, if the password is not set in file.py, it will not be filled in the browser after opening.Cookies file created, i will report later if everything is alright. But i don't expect issues as others have already reported it's working just fine.
Lastly, huge thanks for that
#, executable_path=
in TwitchLogin.py file, as I intend to download a portable version of chrome(ium? if possible) without cluttering my system with another browser.Originally posted by @XaaRii in #15 (comment)
The text was updated successfully, but these errors were encountered: