When I have several windows open in Safari, and click on a link from an external application, I can't tell which window it's going to open the tab in. Actually I can tell — it opens it in any window ...
Apple has added a new Profiles feature to Safari in macOS Sonoma, which is meant to be a quick way to separate work and home browsing, and to help with concentration and privacy. Here's how to use it.