Group Group Group Group Group Group Group Group Group

Reload browser with Swift

(macOS and Swift)

I have created a new window with a browser. (outside my app)

@IBAction func txt(_ sender: NSButton) {
    NSWorkspace.shared.open(URL(fileURLWithPath: "/Applications/Google Chrome.app"))
}

Is there any way I can give it an address and reload the browser?

(I am quite new. I am just learning)