you set BROWSER to your local script, like /home/kevinburke/bin/my-browser
And that file is a shell (or python) script that runs whatever you need - for example that "open" command with profile argument. Or for a more complex setup, it can check the URL and use different profile depending on URL.
Comments
If I'm reading this right that only lets you set the application name, not a specific profile inside the browser.
you set BROWSER to your local script, like /home/kevinburke/bin/my-browser
And that file is a shell (or python) script that runs whatever you need - for example that "open" command with profile argument. Or for a more complex setup, it can check the URL and use different profile depending on URL.