I was testing a program that I found to open instagram in firefox using selenium.
from time import sleep
from selenium import webdriver
browser = webdriver.Firefox()
browser.get('https://www.instagram.com/')
sleep(5)
browser.close()
In theory the program should work but I get the error: selenium.common.exceptions.TimeoutException: Message: A connection cannot be established as the target computer expressly denied said connection. (os error 10061). Does anyone know what the problem is?