Webwright is an AI-powered terminal emulator that lives within your OS. It eliminates time spent on repetitive tasks, conjures code, summons software, and bends the OS to its will. Are you ready to release the ghost in your shell?
The current browser function is hardcoded to work on Windows by launching Google Chrome or falling back to Microsoft Edge. However, this doesn't work on macOS systems.
Please update the browser function to be compatible with macOS as well. Some suggestions:
Check the operating system at runtime and use appropriate logic for Windows vs macOS
On macOS, attempt to launch the default web browser, or common browsers like Safari, Chrome, or Firefox if installed
Avoid hardcoding specific browser paths and instead leverage APIs or system utilities to launch the default browser with a URL
This enhancement will make the browser function more widely usable across different operating systems. Let me know if any additional info would be helpful to implement this update.
The current browser function is hardcoded to work on Windows by launching Google Chrome or falling back to Microsoft Edge. However, this doesn't work on macOS systems.
Please update the browser function to be compatible with macOS as well. Some suggestions:
This enhancement will make the browser function more widely usable across different operating systems. Let me know if any additional info would be helpful to implement this update.