Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Chrome instead of IE
#1
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
Quote
#2
use the register method to change browser
see: https://docs.python.org/3/library/webbro...r.register
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Headless Chrome: How to login into a webpage? amandacstr 1 180 Feb-06-2020, 02:19 AM
Last Post: metulburr
  Interfacing Google Chrome & Python akornrumpf 5 854 Mar-16-2019, 10:20 PM
Last Post: Larz60+
  Cannot open Chrome gahhon 3 639 Jan-26-2019, 04:56 AM
Last Post: snippsat
  selenium - chrome crashes when chrome is running. RvBVakama 4 5,652 Dec-16-2018, 06:32 PM
Last Post: metulburr
  Alternatives to Chrome WebDriver? chisox721 4 1,586 Apr-23-2018, 06:24 PM
Last Post: chisox721
  Selenium chrome driver not returning solution Prince_Bhatia 0 1,615 Jul-06-2017, 06:40 AM
Last Post: Prince_Bhatia

Forum Jump:


Users browsing this thread: 1 Guest(s)