Extras
Extras copied to clipboard
scoop's google chrome as default browser issues
When setting scoop's google chrome as default browser, opening a link that auto-opens in web browser does not open the same chrome as Start Menu -> Scoop Apps -> Google Chrome.
Perhaps an issue with the "current" part of the path? Unknown ...
To prove:
- install tabfern (or another extension that shows all your windows and their tabs, so you can easily track different chrome instances)
- open your regular webpages using Start Menu -> Scoop Apps -> Google Chrome (take a note of your list of windows in tabfern) 2.5 make sure google chrome is set as your default browser in Windows 10 Default Apps settings (I checked, there's no way to specify the path)
- goto winget or any application that gives you a link to click that auto opens in Chrome, click to open the page (you'll note that you now have 2 separate instances of tabfern with each of them not having the other's windows!)
Before I signed in on the "default apps" google chrome, I had 1 instance with my extensions and 1 instance without, I was so confused!!!
This is a known issue.
extras/googlechrome
specifies --user-data-dir
, which is ignored when Chrome is set as the default browser.
https://chromium.googlesource.com/chromium/src/+/master/docs/user_data_dir.md#Overriding-the-User-Data-Directory
My solution is to use User Data
under deault %APPDATA%
instead of Scoop persist
Using powershell to run these commands
cd YOUR_SCOOP_PATH/persist/googlechrome
# remove User Data path (you can also do this in Explorer)
Remove-Item "User Data" -Force -Recurse
# the target need to be absolute path (so don't use %APPDATA% enviroment )
New-Item -itemtype Junction -Path "User Data" -target "%APPDATA%\Google\Chrome\User Data"
(you'll note that you now have 2 separate instances of tabfern with each of them not having the other's windows!)
I have same problem. just report my situation :)
And I find 1 comment in sqa.stackexchange.com about user-data-dir
option to ChromeDriver:
You cannot have 2 instances running the same profile. But if you try to run multiple instances of web drivers, without specifying a profile, will work. Why ? Because when you do not specify one, a temporary (and apparently unique) one is created, and therefore no 2 instances are asked to run with the same profile - therefore you have no exception in the case of running multiple instances without specifying a profile.
My current solution is to forget (give up) about scoop's Chrome and just use the normal Chrome installer. You just get non-admin install, auto-updates and this issue is gone.
Chrome is not the first app that is better off scoop. I have peace of mind with Firefox and Thunderbird in a normal admin install.
My current solution is to forget (give up) about scoop's Chrome and just use the normal Chrome installer. You just get non-admin install, auto-updates and this issue is gone.
Chrome is not the first app that is better off scoop. I have peace of mind with Firefox and Thunderbird in a normal admin install.
Me too! The biggest issue I've encountered is that in some apps, clicking on a URL doesn't open Chrome. I have to manually copy the link and then paste it into Chrome manually, which is really a terrible job.