Добрый день, я пытаюсь открыть расширения с селениума но показывается ошибка
Traceback (most recent call last):
File "C:\Desktop2.0\coding\New folder\Idle.py", line 6, in <module>
driver = webdriver.Firefox(firefox_profile=profile)
File "C:\Users\Rasul\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 170, in init
RemoteWebDriver.__init__(
File "C:\Users\Rasul\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in init
self.start_session(capabilities, browser_profile)
File "C:\Users\Rasul\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "C:\Users\Rasul\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\Rasul\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message: No connection could be made because the target machine actively refused it. (os error 10061)
Вот код
from selenium import webdriver
from time import sleep
profile = webdriver.FirefoxProfile()
profile.add_extension(extension='webextension@metamask.io.xpi')
driver = webdriver.Firefox(firefox_profile=profile)
Спасибо за внимание