[issue35663] webbrowser.py firefox bug [python3, windows 10]

Tanmay Jain report at bugs.python.org
Sat Jan 5 00:09:09 EST 2019


Tanmay Jain <tanmayjain.cs at gmail.com> added the comment:

>>> import webbrowser
>>> brwsr = webbrowser.get("C:/Program Files/Mozilla Firefox/firefox.exe %s")
>>> brwsr.open('www.google.com')
False # <-- even though firefox opens the url

>>> brwsr = webbrowser.get("C:/Program Files (x86)/Google/Chrome/Application/chrome.exe %s")
>>> brwsr.open('www.google.com')
True
>>> brwsr = webbrowser.get(using ='windows-default')
>>> brwsr.open('www.google.com')
True
>>>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35663>
_______________________________________


More information about the Python-bugs-list mailing list