[Google Chrome] Search history breaks when user has one than one chome profile
Extension
https://www.raycast.com/Codely/google-chrome
Raycast Version
1.103.2
macOS Version
26.0.1
Description
Error:
TypeError: getDefaultProfileID is not a function
Object.<anonymous>:constants.ts:5:41
---
2:
3: export const defaultChromeProfilePath = ["Application Support", "Google", "Chrome"];
4: export const defaultChromeStatePath = ["Application Support", "Google", "Chrome", "Local State"];
5: export const DEFAULT_CHROME_PROFILE_ID = getDefaultProfileID();
6: export const CHROME_PROFILE_KEY = "CHROME_PROFILE_KEY";
7: export const CHROME_PROFILES_KEY = "CHROME_PROFILES_KEY";
8:
---
Module._compile:loader:1554:14
Object..js:loader:1706:10
Module.load:loader:1289:32
Steps To Reproduce
- Set up a chrome with more then one profile.
- Execute Search history feature.
- The result is:
Before this PR the feature worked and profile selection dropdown was present to select the profile:
Current Behaviour
No response
Expected Behaviour
No response
Thank you for opening this issue!
🔔 @rgomezcasas @bromanko @crisboarna @andreaselia @rtyke @Aiee @nagauta @a-laughlin @tleo19 @Tarocch1 @rsperezn @drewbabel @haydencbarnes @pernielsentikaer you might want to have a look.
💡 Author and Contributors commands
The author and contributors of Codely/google-chrome can trigger bot actions by commenting:
@raycastbot close this issueCloses the issue.@raycastbot close as not plannedCloses the issue as not planned.@raycastbot rename this issue to "Awesome new title"Renames the issue.@raycastbot reopen this issueReopens the issue.@raycastbot assign meAssigns yourself to the issue.@raycastbot good first issueAdds the "Good first issue" label to the issue.@raycastbot keep this issue openMake sure the issue won't go stale and will be kept open by the bot.
I've been having the same issue #21907, although weirdly in that case even without adding the secondary profile, after the prompt to create it this issue happens to me too and breaks not only the search history command, but every command of the extension unfortunately...
@karolre I hope to have tackled this issue in the latest PR. Can you update the extension and check if your issue still persists?
@karolre I hope to have tackled this issue in the latest PR. Can you update the extension and check if your issue still persists?
Hey, I'm not the person you were tagging but it's working perfectly for me now with multiple profiles, after it was crashing with every command previously Thank you! :)
@liraz747 thanks for checking! Given we have multiple issues that are all basically saying the same thing, I am considering this issue solved :)
@raycastbot close this issue
https://github.com/raycast/extensions/pull/22074 fixed the issue.