2015-09-02 26 views
0

我有一个打开Firefox的python脚本。有没有一种方法可以在后台运行它并抑制窗口弹出?像&在后台运行?从python脚本中禁止打开窗口

+2

http://stackoverflow.com/questions/10060417/python-firefox-headless? –

+0

@MarcB我的坏投票结束为愚蠢 –

回答

0

如果您使用webbrowser模块,您可以尝试将autoraise=False传递给webbrowser.open()函数。