Fix browser detection and fullscreen launch for macOS #13
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Public/castroix!13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "copilot/fix-icon-webpages-opening"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
After restructuring, webpages weren't opening in fullscreen/kiosk mode due to broken browser detection on macOS.
Root Cause
macOS browser detection used
shutil.which('Google Chrome')which fails because:shutil.which()searches PATH for executables/Applications/Google Chrome.app/Contents/MacOS/Google ChromeChanges
Browser Detection (
services.py)_is_browser_available()method with platform-specific logic:os.path.exists()for full paths,shlex.split()for proper parsing of escaped spacesshutil.which()for PATH-based detectionFallback Handling
webbrowser.open()return value and raiseRuntimeErroron failure instead of silent failureTesting
test_browser_availability_detectioncovering all platform detection pathsOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.