webbrowser python windows can't open firefox code example
Example: how to change web browser in python
import webbrowser as wb
wb.register('chrome', None)
wb.open("https://www.google.com/")
import webbrowser as wb
wb.register('chrome', None)
wb.open("https://www.google.com/")