1

To open a new tab in Safari via AppleScript / JXA, one might do:

const browser = Application("Safari")
const newTab = browser.Tab({ url: "https://example.com/" })
const frontWindow = browser.windows[0]

frontWindow.tabs.push(newTab) // Open in background
frontWindow.currentTab = newTab // Switch to tab

If we change it for Orion: const browser = Application("Orion"), everything works except the last line. Instead of switching to the tab, the code segfaults.

Orion 0.99.123.1-beta (WebKit 615.1.16.1)
macOS 13.2 (22D49)
MacBook Air M1

    3 months later
    No one is typing