Jor*_* A. 6 python python-webbrowser
我有一个运行的程序
`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')`
Run Code Online (Sandbox Code Playgroud)
有没有办法让这个程序在后台运行并防止弹出窗口?我已经尝试过chrome.open('chrome://newtab', autoraise=False),但程序仍然无法在后台打开窗口。