Python Forum

Full Version: Chrome instead of IE
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,

i just read a little bit about the webbrowser and tried open google for example. so i did:
import webbrowser
webbrowser.open('https://www.google.com')
it works, but it opens Internet explorer. How do i make it open my default browser "Chrome", do i need to change some settings?

thanks in advance
use the register method to change browser
see: https://docs.python.org/3/library/webbro...r.register