Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

selenium is unable to open firefox

  • 1 답장
  • 4 이 문제를 만남
  • 1 보기
  • 최종 답변자: Paul

more options

>>> from selenium import webdriver >>> driver = webdriver.Firefox() Traceback (most recent call last):

 File "<pyshell#1>", line 1, in <module>
   driver = webdriver.Firefox()
 File "C:\Anaconda3\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 103, in __init__
   self.binary, timeout)
 File "C:\Anaconda3\lib\site-packages\selenium\webdriver\firefox\extension_connection.py", line 51, in __init__
   self.binary.launch_browser(self.profile, timeout=timeout)
 File "C:\Anaconda3\lib\site-packages\selenium\webdriver\firefox\firefox_binary.py", line 68, in launch_browser
   self._wait_until_connectable(timeout=timeout)
 File "C:\Anaconda3\lib\site-packages\selenium\webdriver\firefox\firefox_binary.py", line 98, in _wait_until_connectable
   raise WebDriverException("The browser appears to have exited "

selenium.common.exceptions.WebDriverException: Message: The browser appears to have exited before we could connect. If you specified a log_file in the FirefoxBinary constructor, check it for details.

>>>

It was working fine recently but my latest Firefox upgrade (47) seems to block it. What to do? Oh by the way same selenium is working fine with Chrome.

>>> from selenium import webdriver >>> driver = webdriver.Firefox() Traceback (most recent call last): File "<pyshell#1>", line 1, in <module> driver = webdriver.Firefox() File "C:\Anaconda3\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 103, in __init__ self.binary, timeout) File "C:\Anaconda3\lib\site-packages\selenium\webdriver\firefox\extension_connection.py", line 51, in __init__ self.binary.launch_browser(self.profile, timeout=timeout) File "C:\Anaconda3\lib\site-packages\selenium\webdriver\firefox\firefox_binary.py", line 68, in launch_browser self._wait_until_connectable(timeout=timeout) File "C:\Anaconda3\lib\site-packages\selenium\webdriver\firefox\firefox_binary.py", line 98, in _wait_until_connectable raise WebDriverException("The browser appears to have exited " selenium.common.exceptions.WebDriverException: Message: The browser appears to have exited before we could connect. If you specified a log_file in the FirefoxBinary constructor, check it for details. >>> It was working fine recently but my latest Firefox upgrade (47) seems to block it. What to do? Oh by the way same selenium is working fine with Chrome.

모든 댓글 (1)

more options

Hi

I am sorry, but this question is beyond our considerable expertise to answer.

I recommend you ask in a specialist Selenium forum or support service.