I have a program that runs
`import webbrowser
path = "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
webbrowser.register('chrome', None, webbrowser.BackgroundBrowser(path))
chrome = webbrowser.get('chrome')
chrome.open('chrome://newtab')`
Is there a way I can somehow make this program run in the background and prevent the window from popping up? I have tried chrome.open('chrome://newtab', autoraise=False)
, but the program still does not open the window in the background.
autoraise=False
is still giving focus to the browser tab that is opened. On Windows using Google Chrome – Discontinuity