Thanks for your feedback. I’ve already looked into all of this and I wanted to include all and any browsers (even others than Safari, Chrome, Edge and Firefox). Nonetheless, there are different method calls to get the URL in AppleScript in all browsers anyway.
The browser taking longer to come to the front shouldn’t be relevant, the Apple Script waits for the requested app to come to the front before continuing its execution. It then periodically checks for the URL to change until it’s done so it will resume executing regardless of the time it takes.
The only other universal approach was to spin a puppeteer instance in node and fetch the https://meet.google.com/new URL to follow the redirect (impossible only with curl because it’s a client-side redirect *sigh*) but that alone requires a lot of power / ram and would make the process insanely laggy.