NSAppleScript opens, but does not connect to Safari?
The below function, when called in a MacOS application (Xcode version: Version 15.4 (15F31d), Sedona 14.5) opens the Safari app (if it is not running) but returns the following error:
The below function, when called in a MacOS application (Xcode version: Version 15.4 (15F31d), Sedona 14.5) opens the Safari app (if it is not running) but returns the following error: