There are 2 subjects about this issue but all is not for mac.
How can i open a webpage in Incognito mode with Python in my Mac Computer ?
Normal is easy
import webbrowser
webbrowser.open('http://example.com') # Go to example.com
Some guys this a code like this but this is also now working for mac.
import webbrowser
url = 'http://docs.python.org/'
# MacOS
chrome_path = 'open -a /Applications/Google\ Chrome.app %s'
webbrowser.get(chrome_path).open(url)
Any idea ?